/*
Theme Name: MSiMiC Tech
Theme URI: https://msimictech.com
Author: MSiMiC Tech
Author URI: https://msimictech.com
Description: A modern, dark-themed landing page for MSiMiC Tech — web development services.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: msimictech
*/

/* ============================================
   Design Tokens
   ============================================ */
:root {
  --color-bg: #0a0a0f;
  --color-bg-elevated: #12121a;
  --color-bg-card: #1a1a26;
  --color-bg-card-hover: #22222f;
  --color-surface: #16161f;
  --color-border: rgba(255, 255, 255, 0.06);
  --color-border-hover: rgba(255, 255, 255, 0.12);

  --color-text: #f0f0f5;
  --color-text-secondary: #8a8a9a;
  --color-text-muted: #5a5a6e;

  --color-accent: #6c63ff;
  --color-accent-hover: #7b73ff;
  --color-accent-glow: rgba(108, 99, 255, 0.25);
  --color-accent-subtle: rgba(108, 99, 255, 0.08);

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container-max: 1100px;
  --container-padding: 1.5rem;
  --section-gap: 6rem;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color var(--transition-fast); }
img { max-width: 100%; display: block; }
button { font-family: var(--font-family); cursor: pointer; border: none; outline: none; }
::selection { background: var(--color-accent); color: #fff; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-text-muted); border-radius: var(--radius-full); }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ============================================
   Navbar
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition-base);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  padding: 0.75rem 0;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.2rem;
  z-index: 1001;
  color: var(--color-text);
}

.logo-icon { color: var(--color-accent); font-size: 1.4rem; font-weight: 800; }
.logo-accent { color: var(--color-accent); }

.navbar__nav { display: flex; align-items: center; gap: 2rem; }

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

.nav-link:hover, .nav-link.current { color: var(--color-text); }
.nav-link:hover::after, .nav-link.current::after { width: 100%; }

.nav-cta {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.6rem 1.4rem;
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  box-shadow: 0 0 20px var(--color-accent-glow);
  display: inline-block;
}

.nav-cta:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 0 30px var(--color-accent-glow);
  color: #fff;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
  z-index: 1001;
}

.burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
  .burger { display: flex; }

  .navbar__nav {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
  }

  .navbar__nav.open { opacity: 1; pointer-events: all; }
  .navbar__nav .nav-link { font-size: 1.4rem; }
  .navbar__nav .nav-cta { font-size: 1.1rem; padding: 0.8rem 2rem; }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  font-size: 0.95rem;
  padding: 0.8rem 1.8rem;
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 0 24px var(--color-accent-glow);
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 36px var(--color-accent-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border-hover);
}

.btn--ghost:hover {
  color: var(--color-text);
  border-color: var(--color-text-muted);
}

.btn--lg { font-size: 1.1rem; padding: 1rem 2.2rem; }

.btn__arrow { transition: transform var(--transition-fast); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  overflow: hidden;
}

.hero__bg { position: absolute; inset: 0; pointer-events: none; }

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
}

.hero__orb--1 {
  width: 500px; height: 500px;
  background: var(--color-accent);
  top: -10%; right: -5%;
  animation: float 8s ease-in-out infinite;
}

.hero__orb--2 {
  width: 400px; height: 400px;
  background: #a855f7;
  bottom: -10%; left: -5%;
  animation: float 10s ease-in-out infinite reverse;
}

.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  background: var(--color-accent-subtle);
  border: 1px solid rgba(108, 99, 255, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-accent-hover);
  margin-bottom: 2rem;
  animation: fadeInDown 0.6s ease;
}

.hero__title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.6s ease 0.1s both;
}

.hero__highlight {
  background: linear-gradient(135deg, var(--color-accent), #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-text-secondary);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  animation: fadeInDown 0.6s ease 0.2s both;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
  animation: fadeInDown 0.6s ease 0.3s both;
}

.hero__stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  animation: fadeInDown 0.6s ease 0.4s both;
}

.stat { text-align: center; }
.stat__num { display: block; font-size: 1.5rem; font-weight: 700; color: var(--color-text); }
.stat__label { font-size: 0.8rem; color: var(--color-text-muted); }

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   Section Headers
   ============================================ */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* ============================================
   Services
   ============================================ */
.services { padding: var(--section-gap) 0; }

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

.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all var(--transition-base);
}

.card:hover {
  background: var(--color-bg-card-hover);
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.card__icon { font-size: 2rem; display: block; margin-bottom: 1rem; }
.card__title { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; }
.card__desc { font-size: 0.9rem; color: var(--color-text-secondary); line-height: 1.6; }

/* ============================================
   Process
   ============================================ */
.process { padding: var(--section-gap) 0; background: var(--color-surface); }

.process__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.step { text-align: center; padding: 2rem; }

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: var(--radius-full);
  background: var(--color-accent-subtle);
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(108, 99, 255, 0.15);
}

.step__title { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; }
.step__desc { font-size: 0.9rem; color: var(--color-text-secondary); line-height: 1.6; }

/* ============================================
   CTA
   ============================================ */
.cta-section { padding: var(--section-gap) 0; }

.cta__card {
  position: relative;
  text-align: center;
  padding: 4rem 2rem;
  border-radius: var(--radius-lg);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.cta__glow {
  position: absolute;
  top: -50%; left: 50%;
  transform: translateX(-50%);
  width: 400px; height: 400px;
  background: var(--color-accent);
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  pointer-events: none;
}

.cta__title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
}

.cta__desc {
  font-size: 1rem;
  color: var(--color-text-secondary);
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  position: relative;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-elevated);
  padding: 4rem 0 2rem;
  margin-top: auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand { max-width: 300px; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.footer-tagline { color: var(--color-text-secondary); font-size: 0.95rem; line-height: 1.7; }

.footer-cols { display: flex; gap: 4rem; }

.footer-col { display: flex; flex-direction: column; gap: 0.75rem; }

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-col a:hover { color: var(--color-text); }

.footer-col a svg {
  flex-shrink: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.footer-bottom p { font-size: 0.8rem; color: var(--color-text-muted); }
.footer-bottom a { font-size: 0.8rem; color: var(--color-text-muted); transition: color var(--transition-fast); }
.footer-bottom a:hover { color: var(--color-text-secondary); }

@media (max-width: 768px) {
  .footer-top { flex-direction: column; gap: 2.5rem; }
  .footer-cols { gap: 2.5rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* ============================================
   Impressum
   ============================================ */
.impressum { padding: 8rem 0 4rem; min-height: 100vh; }
.impressum__header { margin-bottom: 3rem; }

.impressum__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.impressum__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.impressum__content { max-width: 720px; }

.impressum__section {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-border);
}

.impressum__section:last-child { border-bottom: none; }
.impressum__section h2 { font-size: 1.15rem; font-weight: 600; margin-bottom: 1rem; color: var(--color-text); }
.impressum__section p { font-size: 0.95rem; color: var(--color-text-secondary); line-height: 1.8; margin-bottom: 0.75rem; }
.impressum__section a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 3px; }
.impressum__section a:hover { color: var(--color-accent-hover); }
.impressum__section strong { color: var(--color-text); }

/* ============================================
   WP overrides — strip defaults
   ============================================ */
.wp-site-blocks { padding: 0 !important; }
.wp-block-post-content { padding: 0 !important; max-width: none !important; }
