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

/* --- DESIGN SYSTEM TOKENS --- */
:root {
  --bg-main: #030307;
  --bg-card: rgba(13, 13, 27, 0.45);
  --bg-card-hover: rgba(18, 18, 38, 0.6);
  --bg-nav: rgba(3, 3, 7, 0.75);
  
  /* Brand Colors */
  --color-primary: #0052ff;       /* Electric Blue */
  --color-primary-glow: rgba(0, 82, 255, 0.15);
  --color-secondary: #9d4edd;     /* Violet */
  --color-secondary-glow: rgba(157, 78, 221, 0.15);
  --color-accent: #00f5ff;        /* Cyan */
  
  /* Text Colors */
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dark: #6b7280;
  
  /* Typography */
  --font-main: 'Inter', sans-serif;
  --font-title: 'Outfit', sans-serif;
  
  /* Borders & Shadows */
  --border-radius-card: 20px;
  --border-radius-btn: 12px;
  --border-radius-pill: 50px;
  --border-color: rgba(255, 255, 255, 0.07);
  --border-color-glow: rgba(0, 82, 255, 0.25);
  --shadow-glow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --shadow-primary: 0 0 25px rgba(0, 82, 255, 0.4);
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  
  /* Container Widths */
  --container-max: 1200px;
}

/* --- BASE STYLES & RESET --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

body {
  overflow-x: hidden;
  width: 100%;
  line-height: 1.6;
  position: relative;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* --- UTILITIES & LAYOUT --- */
.glow-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

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

section {
  padding: 8rem 0;
  position: relative;
}

/* Ambient glow backgrounds */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
}

.orb-primary {
  width: 400px;
  height: 400px;
  background: var(--color-primary);
  top: 10%;
  right: -10%;
}

.orb-secondary {
  width: 500px;
  height: 500px;
  background: var(--color-secondary);
  bottom: 20%;
  left: -15%;
}

.orb-cyan {
  width: 300px;
  height: 300px;
  background: var(--color-accent);
  top: 50%;
  right: 15%;
  opacity: 0.15;
}

/* Text Gradient Utilities */
.text-gradient {
  background: linear-gradient(135deg, #ffffff 30%, #9ca3af 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-accent {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 50%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-center { text-align: center; }

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.75rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 4rem auto;
}

/* Glassmorphism class */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-card);
  box-shadow: var(--shadow-glow);
  transition: var(--transition-smooth);
}

.glass:hover {
  border-color: var(--border-color-glow);
  background: var(--bg-card-hover);
  box-shadow: 0 10px 40px rgba(0, 82, 255, 0.08);
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.95rem 2rem;
  border-radius: var(--border-radius-btn);
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, #0036b3 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 82, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
  background: linear-gradient(135deg, #1a64ff 0%, var(--color-primary) 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-icon {
  width: 20px;
  height: 20px;
  stroke-width: 2.2px;
}

/* --- HEADER / NAVIGATION --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: var(--transition-smooth);
}

header.scrolled {
  padding: 0.75rem 0;
  background: rgba(3, 3, 7, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: var(--transition-smooth);
}

header.scrolled .container {
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text-main);
}

.logo-img {
  height: 36px;
  width: auto;
  border-radius: 6px;
}

.logo-text span {
  color: var(--color-primary);
}

nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  position: relative;
}

nav a:hover, nav a.active {
  color: var(--text-main);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transition: var(--transition-fast);
  border-radius: 2px;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Mobile Menu Button */
.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-main);
  padding: 0.5rem;
  z-index: 1001;
}

/* --- HERO SECTION --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 160px;
  padding-bottom: 6rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 82, 255, 0.08);
  border: 1px solid rgba(0, 82, 255, 0.2);
  color: #4da6ff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-pill);
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 4.25rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.hero-sub {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 4rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 8px var(--color-accent);
}

/* Floating Device Mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mockup-container {
  position: relative;
  width: 100%;
  max-width: 460px;
  height: 480px;
}

.mockup-card {
  position: absolute;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-smooth);
}

.mockup-1 {
  top: 10%;
  left: 0;
  width: 220px;
  height: 380px;
  z-index: 3;
  transform: rotate(-4deg);
  background: #0d0d18;
  animation: float-1 6s ease-in-out infinite;
}

.mockup-2 {
  top: 25%;
  right: 0;
  width: 260px;
  height: 200px;
  z-index: 2;
  transform: rotate(4deg);
  background: #121226;
  animation: float-2 7s ease-in-out infinite;
}

.mockup-3 {
  bottom: 0%;
  right: 15%;
  width: 200px;
  height: 150px;
  z-index: 1;
  transform: scale(0.95);
  background: #080811;
  animation: float-3 8s ease-in-out infinite;
}

.mockup-header {
  height: 32px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  gap: 0.35rem;
}

.mockup-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.mockup-body {
  padding: 1rem;
  height: calc(100% - 32px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* UI mock details */
.ui-line {
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  margin-bottom: 0.75rem;
}
.ui-line.short { width: 60%; }
.ui-line.medium { width: 80%; }

.ui-square {
  height: 120px;
  background: linear-gradient(135deg, rgba(0, 82, 255, 0.2), rgba(157, 78, 221, 0.2));
  border-radius: 10px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- LEISTUNGEN (SERVICES) --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.service-card {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
}

.service-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 82, 255, 0.1), rgba(0, 245, 255, 0.05));
  border: 1px solid rgba(0, 82, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: 2rem;
  box-shadow: inset 0 0 12px rgba(0, 82, 255, 0.1);
}

.service-card:hover .service-icon-box {
  color: var(--text-main);
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  box-shadow: 0 0 20px rgba(0, 82, 255, 0.35);
  border-color: transparent;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* --- REFERENZEN (PORTFOLIO) --- */
.portfolio-intro {
  margin-top: 0;
}

.portfolio-subsection {
  margin-top: 5rem;
  margin-bottom: 3rem;
}

.portfolio-subsection-header {
  margin-bottom: 2.5rem;
  text-align: left;
  border-left: 3px solid var(--color-primary);
  padding-left: 1.5rem;
}

.portfolio-subsection-header h3 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.85rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.portfolio-subsection-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.portfolio-card {
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.portfolio-img-wrapper {
  position: relative;
  aspect-ratio: 16 / 10;
  width: 100%;
  overflow: hidden;
  background: #080812;
  border-bottom: 1px solid var(--border-color);
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.portfolio-card:hover .portfolio-img {
  transform: scale(1.04);
}

.portfolio-img-blur {
  filter: blur(15px) grayscale(0.5);
  opacity: 0.35;
}

.portfolio-overlay-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(3, 3, 7, 0.4);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.portfolio-badge-group {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: var(--border-radius-pill);
  letter-spacing: 0.02em;
}

.badge-status {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #34d399;
}

.badge-status.planned {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #fbbf24;
}

.badge-status.soon {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
}

.badge-cat {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  backdrop-filter: blur(8px);
}

.portfolio-body {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.portfolio-body h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.portfolio-body p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  flex-grow: 1;
  font-size: 1rem;
}

.portfolio-body .btn {
  align-self: flex-start;
}

/* Three project items layout */
.portfolio-grid-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.portfolio-grid-three .portfolio-body h3 {
  font-size: 1.35rem;
}

.portfolio-grid-three .portfolio-body p {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* --- PROZESS (PROCESS) --- */
.process-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40px;
  width: 2px;
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-secondary) 50%, rgba(255, 255, 255, 0) 100%);
}

.process-step {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 4rem;
  position: relative;
  z-index: 10;
}

.process-step:last-child {
  margin-bottom: 0;
}

.process-number {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: #080812;
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  box-shadow: var(--shadow-glow);
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.process-step:hover .process-number {
  border-color: var(--color-primary);
  box-shadow: 0 0 20px rgba(0, 82, 255, 0.3);
  color: var(--color-primary);
  transform: scale(1.05);
}

.process-content {
  padding-top: 1rem;
}

.process-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.process-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 680px;
}

/* --- WARUM YY LABS (WHY US) --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: center;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.why-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
}

.why-item-icon {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.why-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.why-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.why-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.why-box {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.why-box-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(157, 78, 221, 0.2), rgba(0, 245, 255, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
  margin-bottom: 2rem;
}

.why-box h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.why-box p {
  color: var(--text-muted);
}

/* --- ÜBER UNS (ABOUT) --- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

.about-content p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.about-visual {
  display: flex;
  justify-content: center;
}

.about-image-placeholder {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  border-radius: var(--border-radius-card);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- CTA SECTION (INTERMEDIATE CTA) --- */
.cta-section {
  padding: 6rem 0;
}

.cta-box {
  padding: 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box .glow-orb {
  width: 300px;
  height: 300px;
  background: var(--color-primary);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.25;
}

.cta-box h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 10;
}

.cta-box p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
  position: relative;
  z-index: 10;
}

.cta-box .btn {
  position: relative;
  z-index: 10;
}

/* --- KONTAKT (CONTACT) --- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-top h2 {
  margin-bottom: 1rem;
}

.contact-info-top p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 3rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-detail-item {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.contact-detail-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.contact-detail-text span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.contact-detail-text a, .contact-detail-text p {
  font-size: 1.05rem;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-fast);
}

.contact-detail-text a:hover {
  color: var(--color-primary);
}

/* Form Styling */
.contact-form-container {
  padding: 3rem;
}

.form-group-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
  letter-spacing: 0.02em;
}

.form-control {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 0.95rem 1.25rem;
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 15px rgba(0, 82, 255, 0.15);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23f3f4f6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  background-size: 1.15rem;
  padding-right: 3rem;
}

select.form-control option {
  background: var(--bg-main);
  color: var(--text-main);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  width: 100%;
  border: none;
  margin-top: 1rem;
}

/* Success Message styling */
.form-success-message {
  display: none;
  text-align: center;
  padding: 3rem 1rem;
}

.form-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  border: 2px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.form-success-message h3 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.form-success-message p {
  color: var(--text-muted);
}

/* --- FOOTER --- */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: #020205;
  padding: 5rem 0 2.5rem 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 1rem;
  max-width: 320px;
}

.footer-links-group {
  display: flex;
  justify-content: flex-end;
  gap: 4rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: var(--text-dark);
  font-size: 0.9rem;
}

.footer-legal-links {
  display: flex;
  gap: 2rem;
}

.footer-legal-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-legal-links a:hover {
  color: var(--text-muted);
}

/* --- SCROLL ANIMATIONS (Intersection Observer) --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* --- KEYFRAME ANIMATIONS --- */
@keyframes float-1 {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-15px) rotate(-3deg); }
}

@keyframes float-2 {
  0%, 100% { transform: translateY(0) rotate(4deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes float-3 {
  0%, 100% { transform: translateY(0) scale(0.95); }
  50% { transform: translateY(-10px) scale(0.98); }
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
  h2 { font-size: 2.35rem; }
  
  .hero h1 { font-size: 3.25rem; }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 5rem;
    text-align: center;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-sub { margin: 0 auto 2.5rem auto; }
  .hero-ctas { justify-content: center; }
  .hero-trust { justify-content: center; }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .portfolio-grid-three {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .why-visual { order: -1; }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-visual { order: -1; }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

@media (max-width: 768px) {
  section { padding: 5rem 0; }
  
  /* Mobile Navigation */
  header .container {
    height: 70px;
  }
  
  .menu-btn {
    display: block;
  }
  
  nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: #030307;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    padding: 3rem;
    transform: translateY(-150%);
    transition: var(--transition-smooth);
    z-index: 999;
  }
  
  nav.active {
    transform: translateY(0);
  }
  
  nav a {
    font-size: 1.25rem;
  }
  
  .nav-actions {
    display: none; /* Hide desktop CTA in mobile header, show in nav if desired */
  }
  
  nav.active + .nav-actions {
    display: flex;
    position: fixed;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
  }
  
  .process-timeline::before {
    left: 20px;
  }
  
  .process-step {
    gap: 1.5rem;
  }
  
  .process-number {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
    border-width: 1.5px;
  }
  
  .process-content {
    padding-top: 0.35rem;
  }
  
  .cta-box {
    padding: 3rem 1.5rem;
  }
  
  .cta-box h2 {
    font-size: 2.25rem;
  }
  
  .contact-form-container {
    padding: 2rem 1.5rem;
  }
  
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-links-group {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 3rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}

/* --- MOBILE PHONE EXTRA OPTIMIZATIONS --- */
@media (max-width: 576px) {
  .container {
    padding: 0 1.25rem;
  }
  
  section {
    padding: 4.5rem 0;
  }

  .mockup-container {
    transform: scale(0.68);
    transform-origin: center center;
    height: 330px;
    margin: -3rem auto;
  }
  
  /* Spacing and line-height fixes for Hero */
  .hero h1 {
    font-size: 2.35rem;
    line-height: 1.25;
    margin-bottom: 1.5rem;
  }
  
  .hero-sub {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
  }
  
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }
  
  .hero-ctas .btn {
    width: 100%;
  }
  
  .hero-trust {
    gap: 1rem;
    justify-content: center;
  }
  
  .trust-item {
    font-size: 0.8rem;
  }
  
  /* Typography fixes for main headings */
  h2 {
    font-size: 1.95rem;
    line-height: 1.3;
    margin-bottom: 1.25rem;
  }
  
  .section-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 3rem;
  }
  
  /* Spacing inside Service Cards */
  .service-card {
    padding: 2rem 1.5rem;
  }
  
  .service-card h3 {
    font-size: 1.35rem;
    line-height: 1.35;
    margin-bottom: 0.75rem;
  }
  
  .service-card p {
    line-height: 1.6;
  }
  
  /* Portfolio sub-sections spacing */
  .portfolio-subsection {
    margin-top: 4rem;
    margin-bottom: 2.5rem;
  }
  
  .portfolio-subsection-header {
    margin-bottom: 2rem;
    padding-left: 1rem;
  }
  
  .portfolio-subsection-header h3 {
    font-size: 1.45rem;
    line-height: 1.35;
    margin-bottom: 0.5rem;
  }
  
  .portfolio-subsection-header p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  .portfolio-body {
    padding: 1.75rem 1.5rem;
  }
  
  .portfolio-body h3 {
    font-size: 1.45rem;
    line-height: 1.35;
    margin-bottom: 0.75rem;
  }
  
  .portfolio-body p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
  }
  
  /* Process section text spacing */
  .process-step {
    margin-bottom: 3rem;
  }
  
  .process-content h3 {
    font-size: 1.3rem;
    line-height: 1.35;
    margin-bottom: 0.5rem;
  }
  
  .process-content p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  /* Why Us section spacing */
  .why-item {
    padding: 1.5rem 1.25rem;
  }
  
  .why-item h3 {
    line-height: 1.35;
    margin-bottom: 0.5rem;
  }
  
  .why-item p {
    line-height: 1.55;
  }
  
  .why-box {
    padding: 2.5rem 1.5rem;
  }
  
  .why-box h3 {
    font-size: 1.65rem;
    line-height: 1.35;
  }
  
  /* About us spacing */
  .about-content p {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
  }
  
  /* Contact section text spacing */
  .contact-info-top p {
    margin-bottom: 2rem;
    line-height: 1.6;
  }
  
  .contact-detail-text a, .contact-detail-text p {
    line-height: 1.4;
  }
  
  .contact-form-container {
    padding: 2rem 1.5rem;
  }
  
  .form-group {
    margin-bottom: 1.5rem;
  }
  
  .form-group label {
    margin-bottom: 0.5rem;
  }
}

