/*
  Sorhive Media - Global Styles
  Theme: Purple (primary), Yellow (secondary)
  Notes: Responsive, modern, accessible, SEO-friendly
*/

:root {
  --color-bg: #ffffff;
  --color-surface: #f8f9fa;
  --color-text: #1a1a1f;
  --color-muted: #6b7280;
  --color-primary: #6a00ff; /* Purple */
  --color-primary-600: #5600cc;
  --color-secondary: #ffd400; /* Yellow */
  --color-accent: #00e0ff;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 28px rgba(0,0,0,0.12);
  --max-w: 1200px;
  --nav-h: 72px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--color-text);
  background: radial-gradient(1200px 800px at 10% -10%, rgba(106,0,255,0.05), transparent 45%),
              radial-gradient(1000px 600px at 110% 10%, rgba(255,212,0,0.04), transparent 40%),
              var(--color-bg);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* Typography */
h1, h2, h3 { font-family: "Poppins", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; margin: 0 0 12px; line-height: 1.15; }
h1 { font-size: clamp(2rem, 3.5vw + 1rem, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 2.2vw + 1rem, 2.25rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.125rem, 1.2vw + 1rem, 1.5rem); }
p { margin: 0 0 1rem; color: var(--color-muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; padding: 12px 18px; border-radius: var(--radius-md);
  border: 1px solid transparent; cursor: pointer; font-weight: 600;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-primary-600)); color: white; box-shadow: var(--shadow-sm); }
.btn-primary:hover { box-shadow: var(--shadow-md); }
.btn-secondary { background: var(--color-secondary); color: #1a1a1f; box-shadow: var(--shadow-sm); }
.btn-secondary:hover { box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; border-color: rgba(0,0,0,0.2); color: var(--color-text); }
.btn-ghost:hover { background: rgba(0,0,0,0.05); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(160%) blur(10px); background: rgba(255,255,255,0.8); border-bottom: 1px solid rgba(0,0,0,0.1); }
.nav { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: 0.02em; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--color-primary), #9f6bff); display: grid; place-items: center; color: white; font-weight: 800; }
.brand-logo { width: 34px; height: 34px; border-radius: 10px; object-fit: contain; }
.brand-name { font-family: "Poppins", sans-serif; }
.nav-links { display: flex; align-items: center; gap: 14px; }
.nav-links a { padding: 10px 12px; border-radius: 10px; color: var(--color-muted); }
.nav-links a.active, .nav-links a:hover { color: var(--color-primary); background: rgba(106,0,255,0.1); }
.menu-toggle { display: none; background: transparent; border: none; color: var(--color-text); font-size: 1.25rem; cursor: pointer; }

/* Hero */
.hero { padding: 64px 0 32px; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: center; }
.tag { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(106,0,255,0.1); border: 1px solid rgba(106,0,255,0.2); color: var(--color-primary); font-weight: 600; font-size: 0.9rem; }
.hero h1 strong { color: var(--color-secondary); }
.hero p.lead { font-size: 1.125rem; }
.hero-visual { position: relative; height: 320px; border-radius: var(--radius-lg); background: radial-gradient(650px 250px at 20% -20%, rgba(106,0,255,0.1), transparent 60%), linear-gradient(180deg, rgba(248,249,250,0.8), rgba(248,249,250,0.4)); border: 1px solid rgba(0,0,0,0.1); box-shadow: var(--shadow-md); overflow: hidden; }
.orbit { position: absolute; inset: 0; background: radial-gradient(220px 80px at 70% 20%, rgba(255,212,0,0.25), transparent 60%); mix-blend-mode: screen; animation: float 9s ease-in-out infinite; }
@keyframes float { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(10px);} }

/* Sections */
section { padding: 56px 0; }
.section-header { margin-bottom: 40px; text-align: center; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { font-size: 1.125rem; max-width: 700px; margin: 0 auto; }
.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(248,249,250,0.9));
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card h3 {
  margin-top: 6px;
  color: var(--color-text);
}

.card ul {
  list-style: none;
  padding-left: 0;
  margin-top: 12px;
}

.card ul li {
  padding-left: 24px;
  position: relative;
  color: var(--color-muted);
  margin-bottom: 8px;
}

.card ul li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}

.icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(106,0,255,0.1);
  color: var(--color-primary);
  border: 1px solid rgba(106,0,255,0.2);
  font-size: 1.5rem;
}

/* Testimonials */
.testimonial { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: start; }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, #b388ff, #7c4dff); border: 2px solid rgba(106,0,255,0.2); }

/* Footer */
.site-footer { margin-top: 48px; border-top: 1px solid rgba(255,255,255,0.1); background: linear-gradient(135deg, #4a148c, #6a1b9a); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 20px; padding: 24px 0; align-items: center; }
.footer-inner .brand-name { color: white; }
.socials { display: flex; gap: 10px; }
.socials a { display: inline-flex; width: 36px; height: 36px; border-radius: 10px; align-items: center; justify-content: center; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); }
.socials a:hover { background: rgba(255,255,255,0.2); }
.copyright { color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.copyright a { color: rgba(255,255,255,0.8); }
.copyright a:hover { color: white; }

/* Utilities */
.stack-16 > * + * { margin-top: 16px; }
.stack-24 > * + * { margin-top: 24px; }
.stack-32 > * + * { margin-top: 32px; }
.row { display: flex; align-items: center; gap: 12px; }
.muted { color: var(--color-muted); }
.surface { background: var(--color-surface); }

/* Forms */
form { display: grid; gap: 12px; }
label { font-weight: 600; }
input, textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(0,0,0,0.2); background: rgba(255,255,255,0.9); color: var(--color-text); outline: none; }
input:focus, textarea:focus { border-color: var(--color-secondary); box-shadow: 0 0 0 3px rgba(255,212,0,0.2); }
textarea { min-height: 120px; resize: vertical; }

/* Responsive */
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .nav-links { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; background: rgba(255,255,255,0.95); border-bottom: 1px solid rgba(0,0,0,0.1); padding: 12px; }
  .nav-links.open { display: grid; }
  .menu-toggle { display: inline-flex; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}



