/* ===========================
   Protekt.Nu — Website Styles
   Dark Mode Theme
   =========================== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #0f172a;
  color: #f1f5f9;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* --- Typography --- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: #f1f5f9; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p  { color: #94a3b8; line-height: 1.75; }

a { text-decoration: none; color: inherit; }

/* --- Colors / Tokens --- */
:root {
  --orange:      #FFB347;
  --orange-dark: #e8962e;
  --slate-50:    #f8fafc;
  --slate-100:   #f1f5f9;
  --slate-700:   #334155;
  --slate-800:   #1e293b;
  --slate-900:   #0f172a;
  --surface:     #1e293b;
  --surface-2:   #334155;
  --border:      #334155;
  --border-soft: #475569;
  --text:        #f1f5f9;
  --text-muted:  #94a3b8;
  --radius:      12px;
  --shadow:      0 4px 24px rgba(0,0,0,0.35);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.5);
}

/* ===========================
   NAV
   =========================== */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15,23,42,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text);
}

.nav-logo svg { width: 32px; height: 32px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--orange);
}

.nav-cta {
  background: var(--orange) !important;
  color: #0f172a !important;
  font-weight: 700 !important;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s !important;
  color: #0f172a !important;
}

.nav-cta:hover {
  background: var(--orange-dark) !important;
  transform: translateY(-1px);
  color: #0f172a !important;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #0f172a;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    box-shadow: var(--shadow);
  }

  .nav-links.open { display: flex; }
}

/* ===========================
   MAIN CONTENT
   =========================== */
main { flex: 1; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.75rem 1.75rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
}

.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-primary {
  background: var(--orange);
  color: #0f172a;
}

.btn-primary:hover { background: var(--orange-dark); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border-soft);
}

.btn-outline:hover { border-color: var(--orange); color: var(--orange); }

.btn-dark {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border-soft);
}

.btn-dark:hover { background: var(--border-soft); }

/* ===========================
   HERO
   =========================== */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1a2744 50%, #0f172a 100%);
  padding: 6rem 1.5rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,179,71,0.12), transparent 70%);
  top: -200px;
  right: -200px;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(93,163,197,0.08), transparent 70%);
  bottom: -150px;
  left: -150px;
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,179,71,0.1);
  color: var(--orange);
  border: 1px solid rgba(255,179,71,0.3);
  border-radius: 100px;
  padding: 0.3rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero h1 { margin-bottom: 1.25rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero h1 span { color: var(--orange); }

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===========================
   SECTION HELPERS
   =========================== */
.section { padding: 5rem 1.5rem; }
.section-alt { background: #1e293b; }

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.section-heading {
  margin-bottom: 1rem;
  color: var(--text);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 3rem;
}

/* ===========================
   FEATURE CARDS
   =========================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255,179,71,0.3);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255,179,71,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.card-icon svg { width: 26px; height: 26px; color: var(--orange); }

.card h3 { color: var(--text); margin-bottom: 0.5rem; }
.card p  { font-size: 0.95rem; color: var(--text-muted); }

/* ===========================
   STATS BAR
   =========================== */
.stats-bar {
  background: linear-gradient(135deg, #1a2744 0%, #1e293b 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 1.5rem;
}

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--orange);
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ===========================
   TWO-COLUMN LAYOUT
   =========================== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
}

.two-col-visual {
  background: linear-gradient(145deg, #1e293b, #1a3a5c);
  border: 1px solid var(--border);
  border-radius: 20px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.two-col-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 70%, rgba(255,179,71,0.15), transparent 60%);
}

.two-col-visual svg {
  width: 80px;
  height: 80px;
  color: var(--orange);
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

/* ===========================
   ABOUT / PAGE HERO
   =========================== */
.page-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1a2744 100%);
  border-bottom: 1px solid var(--border);
  color: var(--text);
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,179,71,0.1), transparent 70%);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.page-hero h1 { color: var(--text); position: relative; }
.page-hero p  { color: var(--text-muted); max-width: 560px; margin: 1rem auto 0; font-size: 1.1rem; position: relative; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.value-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: border-color 0.2s, transform 0.2s;
}

.value-card:hover {
  border-color: rgba(255,179,71,0.3);
  transform: translateY(-3px);
}

.value-card .icon { font-size: 2.2rem; margin-bottom: 1rem; }
.value-card h3 { color: var(--text); margin-bottom: 0.5rem; }
.value-card p  { color: var(--text-muted); font-size: 0.95rem; }

/* ===========================
   SERVICES PAGE
   =========================== */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border);
}

.service-row:last-child { border-bottom: none; }

@media (max-width: 768px) {
  .service-row { grid-template-columns: 1fr; gap: 1.5rem; }
}

.service-num {
  font-size: 4rem;
  font-weight: 900;
  color: rgba(255,179,71,0.15);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.service-info h3 { color: var(--text); font-size: 1.4rem; margin-bottom: 0.75rem; }
.service-info p  { color: var(--text-muted); }

.feature-list {
  list-style: none;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.feature-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

/* ===========================
   DOWNLOAD PAGE
   =========================== */
.download-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1a2744 100%);
  border-bottom: 1px solid var(--border);
  color: var(--text);
  padding: 6rem 1.5rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.download-hero::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,179,71,0.1), transparent 70%);
  top: -200px;
  right: -200px;
  pointer-events: none;
}

.download-hero h1 { color: var(--text); position: relative; }
.download-hero p  { color: var(--text-muted); max-width: 500px; margin: 1rem auto 2.5rem; font-size: 1.1rem; position: relative; }

.store-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  padding: 1rem 1.75rem;
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  min-width: 190px;
}

.store-btn:hover {
  background: rgba(255,179,71,0.12);
  border-color: var(--orange);
  transform: translateY(-2px);
}

.store-btn svg { width: 32px; height: 32px; flex-shrink: 0; }

.store-btn-text { text-align: left; }
.store-btn-small { font-size: 0.72rem; color: var(--text-muted); }
.store-btn-name  { font-size: 1.05rem; font-weight: 700; color: var(--text); }

.coming-soon-badge {
  background: rgba(255,179,71,0.15);
  color: var(--orange);
  border: 1px solid rgba(255,179,71,0.35);
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  text-transform: uppercase;
  vertical-align: middle;
  margin-left: 6px;
}

.device-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.device-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.device-card:hover {
  border-color: rgba(255,179,71,0.3);
  transform: translateY(-3px);
}

.device-card .device-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.device-card h3 { color: var(--text); margin-bottom: 0.5rem; }
.device-card p  { color: var(--text-muted); font-size: 0.95rem; }

/* ===========================
   CONTACT PAGE
   =========================== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  padding-top: 2rem;
}

@media (max-width: 768px) {
  .contact-wrapper { grid-template-columns: 1fr; gap: 2.5rem; }
}

.contact-info h2 { color: var(--text); margin-bottom: 1rem; }
.contact-info p  { color: var(--text-muted); }

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-top: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-method:hover {
  border-color: rgba(255,179,71,0.4);
  box-shadow: 0 0 0 3px rgba(255,179,71,0.07);
}

.contact-method-icon {
  width: 46px;
  height: 46px;
  background: rgba(255,179,71,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method-icon svg { width: 22px; height: 22px; color: var(--orange); }

.contact-method-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.contact-method-value { font-weight: 600; color: var(--text); font-size: 1rem; }
.contact-method-value a { color: var(--text); transition: color 0.2s; }
.contact-method-value a:hover { color: var(--orange); }

.contact-visual {
  background: linear-gradient(145deg, #1e293b, #1a3a5c);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3rem 2rem;
  color: var(--text);
  text-align: center;
}

.contact-visual .big-icon { font-size: 4rem; margin-bottom: 1.5rem; }
.contact-visual h3 { font-size: 1.4rem; margin-bottom: 0.75rem; color: var(--text); }
.contact-visual p  { color: var(--text-muted); font-size: 0.95rem; }

/* ===========================
   CTA BANNER
   =========================== */
.cta-banner {
  background: linear-gradient(135deg, rgba(255,179,71,0.12) 0%, rgba(232,150,46,0.08) 100%);
  border-top: 1px solid rgba(255,179,71,0.2);
  border-bottom: 1px solid rgba(255,179,71,0.2);
  padding: 5rem 1.5rem;
  text-align: center;
}

.cta-banner h2 { color: var(--text); margin-bottom: 1rem; }
.cta-banner p  { color: var(--text-muted); max-width: 500px; margin: 0 auto 2rem; }

/* ===========================
   FOOTER
   =========================== */
footer {
  background: #070e1a;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  padding: 3.5rem 1.5rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.footer-logo svg { width: 28px; height: 28px; }

.footer-brand p { font-size: 0.9rem; max-width: 260px; color: var(--text-muted); }

.footer-col h4 { color: var(--text); font-size: 0.9rem; margin-bottom: 1rem; }

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }

.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--orange); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-muted);
}

.footer-bottom a { color: var(--text-muted); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--orange); }
