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

:root {
  --bg-primary: #05050a;
  --bg-secondary: #0f111a;
  --text-primary: #f8f9fa;
  --text-secondary: #a0a5b5;
  --accent-cyan: #00f0ff;
  --accent-purple: #8a2be2;
  --gradient-accent: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  --glass-bg: rgba(15, 17, 26, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

/* Glassmorphism Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  transition: padding 0.3s ease;
}

header.scrolled {
  padding: 15px 5%;
}

.logo img {
  height: 40px;
  filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.3));
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links li a {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
  position: relative;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: var(--gradient-accent);
  transition: width 0.3s ease;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(138, 43, 226, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  padding: 12px 28px;
  border-radius: 30px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(5px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-cyan);
}

/* Sections */
section {
  padding: 100px 5%;
  position: relative;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 120px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(138,43,226,0.15) 0%, rgba(5,5,10,0) 70%);
  z-index: -1;
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(0,240,255,0.1) 0%, rgba(5,5,10,0) 70%);
  z-index: -1;
  border-radius: 50%;
}

.hero-content {
  max-width: 900px;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Section Titles */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  position: relative;
}

/* Grid Layouts */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* Cards (Glassmorphism) */
.glass-card {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 40px 30px;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.glass-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.glass-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #fff;
}

.glass-card p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Specific About Section */
.about-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* Footer */
footer {
  background: #020204;
  padding: 60px 5% 30px;
  border-top: 1px solid var(--glass-border);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo img {
  height: 30px;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  gap: 40px;
}

.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  margin-bottom: 20px;
  color: #fff;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--glass-border);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* New AI Agency Styles */
.card-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.featured-project {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-top: 40px;
}

.featured-project-content {
  z-index: 1;
}

.tech-badge {
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: var(--accent-cyan);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

.hero {
  position: relative;
}

.hero-content {
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

canvas.particles-js-canvas-el {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Process Section */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  position: relative;
}

.process-step {
  text-align: center;
  padding: 40px 30px;
}

.step-number {
  font-size: 4rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  margin-bottom: 10px;
  opacity: 0.8;
  line-height: 1;
}

/* Contact Section */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 40px;
}

.contact-info p {
  color: var(--text-secondary);
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  padding: 15px 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
}

/* Floating Dashboard Idea 1 */
.floating-dashboard {
  width: 100%;
  height: auto;
  border-radius: 8px; /* Standard UI radius */
  box-shadow: 0 15px 35px rgba(0, 240, 255, 0.15), 0 5px 15px rgba(138, 43, 226, 0.15);
  object-fit: contain;
  max-height: 350px;
  animation: floatUI 6s ease-in-out infinite;
  transform-origin: center;
}

@keyframes floatUI {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(0.5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

/* Snippet Card Idea 2 (Newsletter) */
.snippet-card {
  width: 100%;
  max-width: 380px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  border-top: 5px solid var(--accent-cyan);
  object-fit: cover;
  object-position: top;
  max-height: 450px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.snippet-card:hover {
  transform: scale(1.03) translateY(-5px);
  box-shadow: 0 30px 60px rgba(0, 240, 255, 0.15);
}

/* Abstract Logo Idea 3 */
.abstract-logo-card {
  min-height: 300px; 
  display: flex; 
  flex-direction: column;
  align-items: center; 
  justify-content: center; 
  border-radius: 20px; 
  border: 1px solid rgba(255, 255, 255, 0.05); 
  padding: 40px; 
  background: linear-gradient(135deg, rgba(0,240,255,0.08) 0%, rgba(138,43,226,0.08) 100%);
  position: relative;
  overflow: hidden;
}

.abstract-logo {
  max-width: 60%;
  height: auto;
  margin-bottom: 20px;
  /* Das Konsentry Logo ist dunkel, also drehen wir es für den Darkmode weiss um */
  filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
  transition: transform 0.4s ease;
}

.abstract-logo-card:hover .abstract-logo {
  transform: scale(1.05);
}

.abstract-tagline {
  color: var(--text-secondary);
  font-size: 1.1rem;
  font-style: italic;
  text-align: center;
  opacity: 0.9;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none; /* Mobile menu needed later */
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero-btns {
    flex-direction: column;
  }
  .footer-content {
    flex-direction: column;
  }
  .featured-project {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
