/* Dashy's Grid - Creative Studio & Web Agency CSS System */

@font-face {
  font-family: 'Chakra Petch';
  src: url('./fonts/ChakraPetch-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Chakra Petch';
  src: url('./fonts/ChakraPetch-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Chakra Petch';
  src: url('./fonts/ChakraPetch-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Chakra Petch';
  src: url('./fonts/ChakraPetch-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Pacifico';
  src: url('./fonts/Pacifico.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

:root {
  --bg-dark: #0d0b1a;
  --bg-gradient: linear-gradient(135deg, #0d0b1a 0%, #081226 30%, #17092b 65%, #080714 100%);
  --bg-card: rgba(22, 19, 38, 0.65);
  --bg-card-hover: rgba(35, 30, 60, 0.8);
  --border-card: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 224, 224, 0.3);
  --accent-cyan: #00e0e0;
  --accent-purple: #8040e0;
  --text-main: #ffffff;
  --text-muted: #aaaaaa;
  --font-heading: 'Chakra Petch', sans-serif;
}

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

html, body {
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-heading);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  line-height: 1.6;
  font-size: 16px;
}

/* ===== Custom Scrollbar (Minimalist Dark Glass) ===== */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #090714;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  border: 2px solid #090714;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 224, 224, 0.5);
  box-shadow: 0 0 10px rgba(0, 224, 224, 0.3);
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) #090714;
}

/* ===== Scroll To Top Button ===== */
.scroll-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(13, 11, 26, 0.9);
  border: 1px solid rgba(0, 224, 224, 0.3);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 90;
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: rgba(0, 224, 224, 0.12);
  border-color: rgba(0, 224, 224, 0.7);
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 224, 224, 0.3);
}

.scroll-top-btn svg {
  width: 22px;
  height: 22px;
  transition: transform 0.25s ease;
}

.scroll-top-btn:hover svg {
  transform: translateY(-2px);
}

/* Site Header Container */
.site-header {
  background: rgba(13, 11, 26, 0.92);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  width: 100%;
  height: 90px;
  z-index: 100;
  overflow: visible;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.navbar-container {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  padding: 0 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: visible;
}

/* Robot Mascot & Integrated Logo Spacer */
.navbar-brand {
  display: block;
  align-self: flex-start;
  height: 90px;
  width: 663px;
  position: relative;
  text-decoration: none;
  overflow: visible;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.brand-robot-img {
  display: block;
  height: 183.12px !important;
  max-height: none !important;
  width: auto !important;
  max-width: none !important;
  position: absolute;
  top: 0 !important;
  left: 0 !important;
  z-index: 20;
  pointer-events: auto;
  filter: none;
}

/* Navigation Right Section - Vertically Centered Alignment */
.navbar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 88px;
  margin-left: 3.5rem;
  position: relative;
  z-index: 50;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 88px;
}

.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.25s ease, text-shadow 0.25s ease, transform 0.2s ease;
  display: inline-block;
  line-height: 1;
  white-space: nowrap;
}

.nav-link:hover {
  color: #ffffff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.8), 0 0 16px rgba(0, 224, 224, 0.4);
  transform: translateY(-1px);
}

/* Dark Neon Glassmorphism Language Selector Dropdown */
.lang-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.lang-selector-btn {
  background: linear-gradient(135deg, rgba(23, 9, 43, 0.75), rgba(8, 18, 38, 0.8));
  color: #ffffff;
  border: 1px solid rgba(0, 224, 224, 0.35);
  padding: 8px 16px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), inset 0 0 10px rgba(128, 64, 224, 0.2);
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
  outline: none;
}

.lang-selector-btn:hover {
  background: linear-gradient(135deg, rgba(128, 64, 224, 0.35), rgba(0, 224, 224, 0.25));
  border-color: rgba(0, 224, 224, 0.7);
  box-shadow: 0 0 20px rgba(0, 224, 224, 0.35), 0 4px 15px rgba(0, 0, 0, 0.5);
  transform: translateY(-1px);
}

.lang-arrow {
  font-size: 0.85rem;
  color: #ffffff;
  transition: transform 0.25s ease;
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: rgba(13, 11, 26, 0.96);
  border: 1px solid rgba(0, 224, 224, 0.3);
  border-radius: 14px;
  padding: 8px;
  min-width: 175px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.8), 0 0 25px rgba(128, 64, 224, 0.25);
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 200;
}

.lang-dropdown-wrapper.open .lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown-wrapper.open .lang-arrow {
  transform: rotate(180deg);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  color: #cccccc;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.lang-option:hover {
  background: rgba(128, 64, 224, 0.2);
  color: #ffffff;
}

.lang-option.active {
  color: var(--accent-cyan);
  font-weight: 700;
  background: rgba(0, 224, 224, 0.12);
}

.flag-icon {
  width: 22px;
  height: 14px;
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}

.flag-stripe {
  width: 100%;
  height: 33.333%;
}

.flag-stripe.red { background-color: #cd2a3e; }
.flag-stripe.white { background-color: #ffffff; }
.flag-stripe.green { background-color: #436f4d; }

.lang-text {
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #ffffff;
}

/* Continuous White Horizontal Neon Line Extension */
.navbar-divider {
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.9), 0 0 12px rgba(255, 255, 255, 0.5);
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 5;
}

/* Full Bleed Edge-to-Edge Hero Section */
.hero-section {
  width: 100%;
  min-height: calc(100vh - 90px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 2.5rem 0 2.5rem;
  text-align: center;
  position: relative;
  margin-bottom: 0;
  background: linear-gradient(to bottom, rgba(13, 11, 26, 0.7) 0%, rgba(13, 11, 26, 0.4) 60%, transparent 100%);
  border-radius: 0;
  border: none;
  backdrop-filter: blur(14px);
  overflow: visible;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('images/content.png') center/cover no-repeat;
  opacity: 0.42;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.65) 50%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.65) 50%, rgba(0, 0, 0, 0) 100%);
  z-index: -1;
  pointer-events: none;
}

.hero-content-inner {
  max-width: 1280px;
  margin: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  flex: 1;
}

/* Subtle, Minimalist Glow for Fluid Neon Title */
@keyframes neonFluidFlow {
  0% {
    background-position: 0% 50%;
    filter: drop-shadow(0 0 5px rgba(0, 224, 224, 0.25)) drop-shadow(0 0 12px rgba(128, 64, 224, 0.18));
  }
  50% {
    background-position: 100% 50%;
    filter: drop-shadow(0 0 6px rgba(128, 64, 224, 0.3)) drop-shadow(0 0 14px rgba(0, 224, 224, 0.22));
  }
  100% {
    background-position: 0% 50%;
    filter: drop-shadow(0 0 5px rgba(0, 224, 224, 0.25)) drop-shadow(0 0 12px rgba(128, 64, 224, 0.18));
  }
}

.hero-title {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin-top: auto;
  margin-bottom: 1.6rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  max-width: 1080px;
  letter-spacing: 0.5px;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #00e0e0 25%,
    #ffffff 50%,
    #8040e0 75%,
    #ffffff 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: neonFluidFlow 10s ease-in-out infinite;
}

/* Stylish Ampersand in Pacifico Cursive Font */
.ampersand {
  font-family: 'Pacifico', cursive;
  font-weight: 400;
  font-size: 1.1em;
  padding: 0 0.3rem;
  display: inline-block;
  vertical-align: baseline;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}



.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-muted);
  max-width: 820px;
  margin: 0 auto 2.2rem auto;
  font-weight: 400;
  line-height: 1.7;
  text-align: center;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

/* Mouse Scroll Down Indicator Animation */
@keyframes scrollWheelMove {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(8px);
    opacity: 0;
  }
}

.hero-scroll-indicator {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  margin-top: auto;
  margin-bottom: 0.6rem;
  transition: color 0.25s ease, text-shadow 0.25s ease;
  cursor: pointer;
}

.hero-scroll-indicator:hover {
  color: var(--accent-cyan);
  text-shadow: 0 0 12px rgba(0, 224, 224, 0.7);
}

.scroll-mouse-icon {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(0, 224, 224, 0.6);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
  box-shadow: 0 0 10px rgba(0, 224, 224, 0.2);
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background-color: var(--accent-cyan);
  border-radius: 2px;
  animation: scrollWheelMove 1.6s infinite ease-in-out;
  box-shadow: 0 0 6px var(--accent-cyan);
}

/* Hero Bottom Pillars Bar - 50% Overlap Outside Hero Section */
.hero-pillars-bar {
  width: 100%;
  max-width: 1240px;
  transform: translateY(50%);
  position: relative;
  z-index: 25;
  background: rgba(18, 15, 34, 0.88);
  border: 1px solid rgba(0, 224, 224, 0.32);
  border-radius: 20px;
  backdrop-filter: blur(18px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 1.8rem 1.2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), inset 0 0 25px rgba(0, 224, 224, 0.05);
}

.hero-pillar-col {
  padding: 0 1.4rem;
  text-align: left;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.hero-pillar-col:last-child {
  border-right: none;
}

.pillar-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.5rem;
}

.pillar-icon-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  box-shadow: none;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.hero-pillar-col:hover .pillar-icon-badge {
  transform: scale(1.12);
}

.pillar-svg-icon {
  width: 42px;
  height: 42px;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 0 8px rgba(0, 224, 224, 0.45));
}

.hero-pillar-col:hover .pillar-svg-icon {
  transform: scale(1.08);
  filter: drop-shadow(0 0 14px rgba(0, 224, 224, 0.8));
}

.hero-pillar-title {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.3px;
  line-height: 1.3;
  text-align: left;
}

.hero-pillar-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.48;
  margin: 0;
  text-align: left;
}

@media (max-width: 1024px) {
  .hero-pillars-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem 0;
  }
  .hero-pillar-col:nth-child(2) {
    border-right: none;
  }
  .hero-pillar-col:nth-child(1), .hero-pillar-col:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1.2rem;
  }
}

@media (max-width: 640px) {
  .hero-pillars-bar {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .hero-pillar-col {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding-bottom: 1.2rem;
    margin-bottom: 1.2rem;
  }
  .hero-pillar-col:last-child {
    border-bottom: none !important;
    padding-bottom: 0;
    margin-bottom: 0;
  }
}

/* High-End Solid Cyber Gradient Button (Ajánlatkérés) - Clean Subtle Hover */
.btn-primary {
  background: linear-gradient(135deg, #00e0e0 0%, #8040e0 100%);
  color: #ffffff;
  padding: 0.95rem 2.6rem;
  border-radius: 14px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.25s ease;
  cursor: pointer;
  letter-spacing: 0.5px;
}

.btn-primary .btn-svg-arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #00d5d5 0%, #7535d5 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 224, 224, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.btn-primary:hover .btn-svg-arrow {
  transform: translateX(5px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  padding: 1rem 2.5rem;
  border-radius: 14px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: all 0.25s ease;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  transform: translateY(-3px);
}

/* Page Layout Container for Content Sections Below Hero */
.page-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 11.5rem 2.5rem 4rem 2.5rem;
  flex: 1;
  width: 100%;
  position: relative;
  z-index: 30;
}

/* Global Site Section Spacing - Perfectly Equal Distance Between All Sections */
.site-section {
  margin-bottom: 4.5rem;
}

/* Section Header - Perfectly Centered & Standardized Spacing Across All Sections */
.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.2rem;
}

.section-tag {
  color: var(--accent-cyan);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.4rem;
  display: block;
  text-align: center;
  width: 100%;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin: 0;
  text-align: center;
  width: 100%;
}

/* 4-Card Services Grid System & Seamless Transparent SVG Icon Styling */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
  margin-bottom: 0;
}

@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 2.2rem 1.8rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 224, 224, 0.15);
}

.service-icon {
  width: auto;
  height: auto;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 1.4rem;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  background: transparent;
  border: none;
  box-shadow: none;
  transform: translateY(-2px) scale(1.08);
}

.service-svg-icon {
  width: 52px;
  height: 52px;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.service-card:hover .service-svg-icon {
  filter: drop-shadow(0 0 12px rgba(0, 224, 224, 0.6));
}

.service-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: #ffffff;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 1.8rem;
  line-height: 1.6;
  flex: 1;
}

/* Sleek Cyber Card Details Button */
.btn-card-details {
  background: rgba(0, 224, 224, 0.08);
  color: #ffffff;
  border: 1px solid rgba(0, 224, 224, 0.3);
  padding: 0.75rem 1.4rem;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: all 0.25s ease;
  margin-top: auto;
  cursor: pointer;
  width: 100%;
}

.btn-card-details:hover {
  background: rgba(0, 224, 224, 0.2);
  border-color: rgba(0, 224, 224, 0.7);
  box-shadow: 0 0 18px rgba(0, 224, 224, 0.3);
  transform: translateY(-2px);
  color: var(--accent-cyan);
}

/* Dark Neon Glassmorphism Service Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(8, 7, 20, 0.85);
  backdrop-filter: blur(16px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: rgba(18, 15, 34, 0.96);
  border: 1px solid rgba(0, 224, 224, 0.4);
  border-radius: 24px;
  max-width: 680px;
  width: 100%;
  padding: 2.8rem 2.4rem 2.4rem 2.4rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(0, 224, 224, 0.2);
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 1.5rem;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.modal-close-btn:hover {
  background: rgba(255, 95, 86, 0.2);
  border-color: #ff5f56;
  color: #ff5f56;
  transform: scale(1.05);
}

.modal-icon {
  margin-bottom: 1rem;
}

.modal-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.8rem;
}

.modal-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.6rem;
}

.modal-section-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
}

.modal-features {
  list-style: none;
  margin-bottom: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.modal-features li {
  color: #dddddd;
  font-size: 0.98rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.modal-features li::before {
  content: '✓';
  color: var(--accent-cyan);
  font-weight: 700;
  flex-shrink: 0;
}

.modal-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.2rem;
}

.tech-tag {
  background: rgba(128, 64, 224, 0.2);
  border: 1px solid rgba(128, 64, 224, 0.4);
  color: #ffffff;
  padding: 0.35rem 0.9rem;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== About Us Section - Wide Screen-Fit Code Editor IDE Window ===== */
.code-editor-window {
  background: rgba(14, 12, 28, 0.94);
  border: 1px solid rgba(0, 224, 224, 0.28);
  border-radius: 16px;
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(0, 224, 224, 0.03);
  overflow: hidden;
  max-width: 1350px;
  margin: 0 auto;
  transition: all 0.35s ease;
}

.code-editor-window:hover {
  border-color: rgba(0, 224, 224, 0.5);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 224, 224, 0.12);
}

/* Editor Window Header */
.editor-header {
  background: rgba(8, 7, 20, 0.96);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.editor-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.editor-dots .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}

.dot-red { background-color: #ff5f56; }
.dot-yellow { background-color: #ffbd2e; }
.dot-green { background-color: #27c93f; }

.editor-tab {
  background: rgba(22, 19, 38, 0.9);
  border: 1px solid rgba(0, 224, 224, 0.3);
  border-bottom: none;
  padding: 0.3rem 1rem;
  border-radius: 8px 8px 0 0;
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: monospace, var(--font-heading);
  font-size: 0.82rem;
  color: #ffffff;
  position: relative;
}

.editor-tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-cyan);
  border-radius: 2px 2px 0 0;
  box-shadow: 0 0 8px var(--accent-cyan);
}

.tab-icon {
  font-size: 0.82rem;
}

.editor-meta {
  display: flex;
  gap: 6px;
}

.meta-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-family: monospace;
  padding: 0.15rem 0.5rem;
  border-radius: 5px;
}

/* Editor Window Body */
.editor-body {
  display: flex;
  padding: 0.9rem 1.2rem;
  font-family: 'Consolas', 'Fira Code', 'Monaco', monospace;
  font-size: 0.88rem;
  line-height: 1.5;
  overflow-x: auto;
  overflow-y: hidden;
}

.line-numbers {
  display: flex;
  flex-direction: column;
  color: #4a4868;
  padding-right: 1rem;
  user-select: none;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  text-align: right;
  font-size: 0.85rem;
  gap: 0.25rem;
  opacity: 0.85;
}

.code-content {
  padding-left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: #abb2bf;
  width: 100%;
}

.code-line {
  white-space: nowrap;
  line-height: 1.5;
  height: 1.5em;
}

.code-line.indent {
  padding-left: 1.2rem;
}

.code-line.indent-double {
  padding-left: 2.4rem;
}

/* Syntax Highlighting */
.code-keyword {
  color: #c678dd;
  font-weight: 700;
}

.code-variable {
  color: #00e0e0;
  font-weight: 600;
}

.code-type {
  color: #e5c07b;
}

.code-property {
  color: #e06c75;
  font-weight: 600;
}

.code-string {
  color: #98c379;
  line-height: 1.5;
}

.code-comment {
  color: #6b7280;
  font-style: italic;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.editor-cursor {
  display: inline-block;
  width: 7px;
  height: 1.1em;
  background-color: var(--accent-cyan);
  vertical-align: middle;
  margin-left: 4px;
  box-shadow: 0 0 8px var(--accent-cyan);
  animation: cursorBlink 1s infinite;
}

/* Editor Window Status Bar */
.editor-statusbar {
  background: rgba(8, 7, 20, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.4rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: monospace, var(--font-heading);
  font-size: 0.74rem;
  color: #6b6b8d;
}

.status-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #27c93f;
  box-shadow: 0 0 6px #27c93f;
}

.status-right {
  display: flex;
  gap: 14px;
}

@media (max-width: 768px) {
  .editor-body {
    padding: 0.9rem 0.5rem;
    font-size: 0.8rem;
  }
  .line-numbers {
    display: none;
  }
  .code-content {
    padding-left: 0;
  }
  .code-line.indent {
    padding-left: 0.5rem;
  }
  .editor-meta {
    display: none;
  }
}

/* Workflow Timeline (Közös munka menete) - Alternating Top/Bottom Network Blueprint */
.network-horizontal-wrapper {
  position: relative;
  max-width: 1350px;
  margin: 0 auto;
  padding: 0;
}

/* Central Horizontal Spine */
.network-spine-horizontal-center {
  position: absolute;
  top: 50%;
  left: 6%;
  right: 6%;
  height: 2px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(0, 224, 224, 0.25) 0%, rgba(128, 64, 224, 0.7) 50%, rgba(0, 224, 224, 0.25) 100%);
  z-index: 1;
  box-shadow: 0 0 10px rgba(0, 224, 224, 0.4);
}

@keyframes dataPulseHorizontal {
  0% {
    left: 0%;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

.network-spine-pulse-h {
  position: absolute;
  top: -2px;
  left: 0;
  width: 80px;
  height: 6px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), #ffffff, transparent);
  border-radius: 3px;
  box-shadow: 0 0 14px var(--accent-cyan);
  animation: dataPulseHorizontal 4s linear infinite;
}

.network-alternating-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
  align-items: center;
  min-height: 380px;
}

.network-h-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Column Top (Páratlanok: 01, 03, 05) - Card Above Line */
.col-top {
  margin-bottom: 2rem;
  justify-content: flex-end;
}

/* Column Bottom (Párosok: 02, 04) - Card Below Line */
.col-bottom {
  margin-top: 2rem;
  justify-content: flex-start;
}

/* Node Circle on Central Spine */
.network-alternating-grid .network-node {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(13, 11, 26, 0.98);
  border: 1.5px solid var(--accent-cyan);
  box-shadow: 0 0 14px rgba(0, 224, 224, 0.5), inset 0 0 8px rgba(128, 64, 224, 0.4);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.network-h-col:hover .network-node {
  transform: scale(1.15) rotate(45deg);
  border-color: #ffffff;
  box-shadow: 0 0 22px rgba(0, 224, 224, 0.9);
  color: var(--accent-cyan);
}

/* Vertical Connecting Stems */
.network-connect-stem {
  width: 1px;
  height: 22px;
  background: linear-gradient(to bottom, var(--accent-cyan), rgba(128, 64, 224, 0.6));
  flex-shrink: 0;
}

.stem-down {
  margin-bottom: 2px;
}

.stem-up {
  margin-top: 2px;
}

/* Alternating Network Cards */
.network-h-col .network-card {
  width: 100%;
  background: rgba(16, 13, 33, 0.85);
  border: 1px solid rgba(0, 224, 224, 0.25);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  backdrop-filter: blur(14px);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.45), inset 0 0 15px rgba(0, 224, 224, 0.03);
  text-align: left;
  box-sizing: border-box;
}

.network-h-col:hover .network-card {
  background: rgba(26, 21, 50, 0.92);
  border-color: rgba(0, 224, 224, 0.65);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65), 0 0 22px rgba(0, 224, 224, 0.22);
}

/* Cyber Header in Card */
.network-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
  padding-bottom: 0.25rem;
}

.network-node-code {
  font-family: monospace;
  color: var(--accent-cyan);
  letter-spacing: 1px;
  font-weight: 700;
  opacity: 0.9;
}

@keyframes ledPulse {
  0% { opacity: 0.4; box-shadow: 0 0 2px var(--accent-cyan); }
  50% { opacity: 1; box-shadow: 0 0 8px var(--accent-cyan); }
  100% { opacity: 0.4; box-shadow: 0 0 2px var(--accent-cyan); }
}

.network-status-led {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  display: inline-block;
  animation: ledPulse 2s infinite ease-in-out;
}

.network-status-led.active-complete {
  background: #27c93f;
  box-shadow: 0 0 8px #27c93f;
}

/* Title & Description Demarcation */
.network-card .timeline-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.3rem;
  line-height: 1.25;
}

.title-divider {
  height: 1.5px;
  width: 35px;
  background: linear-gradient(90deg, var(--accent-cyan), transparent);
  margin-bottom: 0.4rem;
  border-radius: 1px;
  box-shadow: 0 0 6px rgba(0, 224, 224, 0.4);
}

.network-card .timeline-desc {
  color: #b4b4d6;
  font-size: 0.82rem;
  line-height: 1.48;
  margin: 0;
}

/* Cyber Corner Accents */
.card-corner-tl {
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--accent-cyan);
  border-left: 2px solid var(--accent-cyan);
  opacity: 0.7;
}

.card-corner-br {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 8px;
  height: 8px;
  border-bottom: 2px solid var(--accent-purple);
  border-right: 2px solid var(--accent-purple);
  opacity: 0.7;
}

@media (max-width: 1024px) {
  .network-alternating-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    min-height: auto;
  }
  .network-spine-horizontal-center {
    display: none;
  }
  .col-top, .col-bottom {
    margin: 0;
  }
}

@media (max-width: 640px) {
  .network-alternating-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   PORTFOLIO / REFERENCIÁK
========================================================= */

.portfolio-section {
  position: relative;
}

.section-subtitle {
  max-width: 680px;
  margin: 14px auto 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15.5px;
  line-height: 1.7;
}


/* Fő referencia */
.featured-project {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  max-width: 1280px;
  margin: 50px auto 0;

  background: transparent;

  border: none;
  border-radius: 0;

  overflow: visible;

  box-shadow: none;

  transition: transform 0.35s ease;
}

.featured-project:hover {
  transform: translateY(-4px);

  border-color: transparent;

  box-shadow: none;
}


/* =========================================================
   BAL OLDALI ELŐNÉZET
========================================================= */

.project-visual {
  position: relative;

  min-height: 480px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 10px 25px 10px 0;

  text-decoration: none;

  overflow: visible;

  background: transparent;
}


/* finom grid */
.project-visual::before {
  display: none;
}


/* böngésző mockup */
.browser-frame {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 820px;

  background: #0c0916;

  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;

  overflow: hidden;

  box-shadow:
    0 35px 70px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(22, 220, 205, 0.08);

  transform: perspective(1200px)
    rotateY(2deg)
    rotateX(1deg);

  transition:
    transform 0.45s cubic-bezier(.2,.8,.2,1),
    box-shadow 0.45s ease;
}

.project-visual:hover .browser-frame {
  transform:
    perspective(1200px)
    rotateY(0deg)
    rotateX(0deg)
    scale(1.018);

  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(22, 220, 205, 0.12);
}


/* böngésző felső sáv */
.browser-top {
  height: 45px;

  display: flex;
  align-items: center;

  padding: 0 14px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.07);

  background: rgba(255, 255, 255, 0.035);
}


.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots span {
  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.25);
}


.browser-address {
  margin: 0 auto;

  padding: 6px 18px;

  min-width: 180px;

  text-align: center;

  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);

  background: rgba(255, 255, 255, 0.04);

  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
}


/* screenshot */
.browser-content {
  aspect-ratio: 16 / 9;

  background: #111;
  overflow: hidden;
}

.browser-content img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
  object-position: top;
}


/* hover felirat */
.project-hover {
  position: absolute;
  z-index: 4;

  left: 50%;
  bottom: 22px;

  transform:
    translate(-50%, 10px);

  padding: 10px 18px;

  color: #fff;

  font-size: 12px;
  font-weight: 700;

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;

  background: rgba(10, 7, 20, 0.85);

  backdrop-filter: blur(12px);

  opacity: 0;

  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.project-visual:hover .project-hover {
  opacity: 1;

  transform:
    translate(-50%, 0);
}


/* =========================================================
   JOBB OLDALI TARTALOM
========================================================= */

.project-content {
  position: relative;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 35px 20px 35px 35px;
}


/* sorszám */
.project-number {
  margin-bottom: 20px;

  color: #27ddd1;

  font-family: monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;

  text-transform: uppercase;
}


/* cím */
.project-title {
  margin: 0 0 20px;

  color: #fff;

  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.05;
  letter-spacing: -1.3px;
}


/* leírás */
.project-description {
  margin: 0;

  max-width: 480px;

  color: rgba(255, 255, 255, 0.72);

  font-size: 15.5px;
  line-height: 1.75;
}


/* tagek */
.project-tags {
  display: flex;
  flex-wrap: wrap;

  gap: 8px;

  margin-top: 28px;
}

.project-tags span {
  padding: 8px 14px;

  color: rgba(255, 255, 255, 0.85);

  font-size: 12px;
  font-weight: 600;

  background: rgba(117, 61, 219, 0.18);

  border: 1px solid rgba(140, 78, 255, 0.32);
  border-radius: 30px;
}


/* gomb */
.project-button {
  width: fit-content;

  display: inline-flex;
  align-items: center;

  gap: 10px;

  margin-top: 35px;
  padding: 13px 22px;

  color: #ffffff;

  font-size: 14px;
  font-weight: 700;

  text-decoration: none;

  border: 1px solid rgba(45, 225, 210, 0.45);
  border-radius: 12px;

  background: linear-gradient(135deg, rgba(0, 224, 224, 0.18), rgba(128, 64, 224, 0.22));
  box-shadow: 0 4px 18px rgba(0, 224, 224, 0.15);

  transition:
    background 0.28s ease,
    border-color 0.28s ease,
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.project-button:hover {
  transform: translateY(-2px);

  background: linear-gradient(135deg, rgba(0, 224, 224, 0.3), rgba(128, 64, 224, 0.35));

  border-color: rgba(45, 225, 210, 0.75);
  box-shadow: 0 6px 24px rgba(0, 224, 224, 0.3);
  color: #ffffff;
}

.project-button-arrow {
  color: #00e0e0;
  font-size: 15px;

  transition: transform 0.25s ease;
}

.project-button:hover .project-button-arrow {
  transform: translate(3px, -3px);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

  .featured-project {
    grid-template-columns: 1fr;
  }

  .project-visual {
    min-height: auto;

    padding: 30px;
  }

  .project-content {
    padding: 40px 30px;
  }

}


@media (max-width: 600px) {

  .featured-project {
    margin-top: 40px;

    border-radius: 18px;
  }

  .project-visual {
    padding: 18px;
  }

  .browser-frame {
    border-radius: 11px;

    transform: none;
  }

  .browser-top {
    height: 37px;
  }

  .browser-address {
    min-width: 130px;

    padding: 5px 10px;

    font-size: 9px;
  }

  .project-content {
    padding: 30px 22px;
  }

  .project-description {
    font-size: 14px;
  }

  .project-hover {
    display: none;
  }

}

/* ===== Portfolio Subpage Styles ===== */
.portfolio-hero {
  width: 100%;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5rem 2.5rem 3rem 2.5rem;
  text-align: center;
  position: relative;
  background: linear-gradient(to bottom, rgba(13, 11, 26, 0.9) 0%, rgba(8, 18, 38, 0.4) 100%);
  overflow: hidden;
}

.portfolio-hero-inner {
  max-width: 950px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.portfolio-hero-title {
  font-size: 3.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 0.3rem;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #ffffff 0%, #00e0e0 50%, #8040e0 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: neonFluidFlow 10s ease-in-out infinite;
}

.portfolio-hero-subtitle {
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto;
}

/* Portfolio Filter Buttons */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.filter-btn:hover {
  background: rgba(0, 224, 224, 0.08);
  border-color: rgba(0, 224, 224, 0.3);
  color: #ffffff;
}

.filter-btn.active {
  background: linear-gradient(135deg, rgba(0, 224, 224, 0.18), rgba(128, 64, 224, 0.18));
  border-color: rgba(0, 224, 224, 0.5);
  color: #ffffff;
  box-shadow: 0 0 18px rgba(0, 224, 224, 0.2);
}

/* Filter Animation */
.portfolio-full-card {
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.portfolio-full-card.filter-hidden {
  display: none;
}

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

.portfolio-full-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.35s ease;
}

.portfolio-full-card:hover {
  border-color: rgba(0, 224, 224, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 224, 224, 0.1);
}

.portfolio-full-image {
  position: relative;
  display: block;
  height: 240px;
  overflow: hidden;
  text-decoration: none;
}

.portfolio-full-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.portfolio-full-card:hover .portfolio-full-image img {
  transform: scale(1.05);
  filter: brightness(0.8);
}

.portfolio-full-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 11, 26, 0.4);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.portfolio-full-card:hover .portfolio-full-overlay {
  opacity: 1;
}

.portfolio-full-placeholder {
  cursor: default;
}

.portfolio-coming-badge {
  background: rgba(128, 64, 224, 0.25);
  border: 1px solid rgba(128, 64, 224, 0.5);
  color: #ffffff;
  padding: 0.5rem 1.2rem;
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.portfolio-full-info {
  padding: 1.6rem 1.8rem 1.8rem 1.8rem;
}

.portfolio-tag-inline {
  display: inline-block;
  color: var(--accent-cyan);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.portfolio-full-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.portfolio-full-info p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.portfolio-full-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.portfolio-back-home {
  text-align: center;
  padding: 2rem 0 1rem 0;
}

@media (max-width: 768px) {
  .portfolio-hero-title {
    font-size: 2.2rem;
  }
  .portfolio-full-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-hero {
    padding: 4rem 1.5rem 3rem 1.5rem;
  }
}

/* Contact Section */
/* Centered Single Card Contact Section - Compact Viewport-Friendly Profile */
.contact-card-centered {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 1.6rem 2.2rem;
  max-width: 1080px;
  margin: 0 auto;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 0 30px rgba(0, 224, 224, 0.03);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-card-centered:hover {
  border-color: rgba(0, 224, 224, 0.35);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 224, 224, 0.1);
}

.contact-header-centered {
  text-align: center;
  margin-bottom: 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-main-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 0.1rem;
  margin-bottom: 0.3rem;
}

.contact-subtext {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 720px;
  line-height: 1.45;
  margin: 0 auto 0.7rem auto;
}

/* Cyber E-mail Badge */
.contact-email-badge-wrapper {
  display: flex;
  justify-content: center;
}

.contact-email-badge {
  background: linear-gradient(135deg, rgba(13, 11, 26, 0.9), rgba(18, 25, 45, 0.95));
  border: 1px solid rgba(0, 224, 224, 0.4);
  border-radius: 30px;
  padding: 0.38rem 1.3rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.88rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5), inset 0 0 12px rgba(0, 224, 224, 0.08);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.contact-email-badge:hover {
  background: linear-gradient(135deg, rgba(0, 224, 224, 0.18), rgba(128, 64, 224, 0.22));
  border-color: rgba(0, 224, 224, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 224, 224, 0.3);
}

.email-badge-icon {
  font-size: 0.9rem;
}

.email-badge-label {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.email-badge-value {
  color: var(--accent-cyan);
  font-weight: 700;
  letter-spacing: 0.4px;
}

.contact-form-centered {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.form-submit-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 0.2rem;
}

.form-submit-btn {
  padding: 0.75rem 2.6rem;
  font-size: 0.98rem;
  border-radius: 12px;
  min-width: 220px;
}

@media (max-width: 768px) {
  .contact-card-centered {
    padding: 1.4rem 1.1rem;
  }
  .contact-main-title {
    font-size: 1.55rem;
  }
  .contact-email-badge {
    padding: 0.45rem 1.1rem;
    font-size: 0.85rem;
    flex-wrap: wrap;
    justify-content: center;
  }
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-group label {
  font-size: 0.84rem;
  color: #cccccc;
  font-weight: 600;
}

.optional-tag {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.78rem;
  margin-left: 4px;
}

.form-input, .form-textarea {
  background: rgba(10, 9, 20, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.25s ease;
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2300e0e0' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 14px 14px;
  padding-right: 2.4rem;
  cursor: pointer;
}

.form-select option {
  background-color: #0d0b1a;
  color: #ffffff;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 224, 224, 0.2);
}

/* Cyber Radio Card Selector */
.cyber-radio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.cyber-radio-card {
  position: relative;
  display: block;
  cursor: pointer;
}

.cyber-radio-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.cyber-radio-content {
  background: rgba(10, 9, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 0.5rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #cccccc;
  font-size: 0.86rem;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cyber-radio-card:hover .cyber-radio-content {
  background: rgba(0, 224, 224, 0.08);
  border-color: rgba(0, 224, 224, 0.4);
  color: #ffffff;
}

.radio-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.cyber-radio-card input[type="radio"]:checked + .cyber-radio-content {
  background: rgba(0, 224, 224, 0.14);
  border-color: rgba(0, 224, 224, 0.7);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(0, 224, 224, 0.2);
}

.cyber-radio-card input[type="radio"]:checked + .cyber-radio-content .radio-dot {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}

@media (max-width: 640px) {
  .form-row-2col, .cyber-radio-grid {
    grid-template-columns: 1fr;
  }
}

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

/* Footer - Premium Cyber Neon Design */
.site-footer {
  background: rgba(8, 7, 20, 0.97);
  margin-top: auto;
  position: relative;
  overflow: hidden;
}

.footer-glow-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #00e0e0 20%, #8040e0 50%, #00e0e0 80%, transparent 100%);
  box-shadow: 0 0 12px rgba(0, 224, 224, 0.5), 0 0 30px rgba(128, 64, 224, 0.3);
}

.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3.5rem 2.5rem 2.5rem 2.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

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

.footer-brand {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.8rem;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
}

.footer-brand-svg-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  color: var(--accent-cyan);
  margin-left: 8px;
  filter: drop-shadow(0 0 8px rgba(0, 224, 224, 0.7));
}

.footer-brand-svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent-cyan);
  transition: transform 0.3s ease;
}

.footer-brand:hover .footer-brand-svg {
  transform: scale(1.15) rotate(5deg);
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 380px;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 0.8rem;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-social-link:hover {
  background: rgba(0, 224, 224, 0.12);
  border-color: rgba(0, 224, 224, 0.5);
  color: var(--accent-cyan);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 224, 224, 0.25);
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.2rem;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-cyan);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--accent-cyan);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.25s ease, padding-left 0.25s ease;
  padding-left: 0;
}

.footer-link:hover {
  color: var(--accent-cyan);
  padding-left: 6px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1;
}

.footer-contact-icon {
  font-size: 1rem;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fb-icon-badge, .email-icon-badge {
  background: rgba(0, 224, 224, 0.1);
  border: 1px solid rgba(0, 224, 224, 0.35);
  border-radius: 6px;
  color: var(--accent-cyan);
  transition: all 0.25s ease;
}

.footer-contact-item:hover .fb-icon-badge,
.footer-contact-item:hover .email-icon-badge {
  background: rgba(0, 224, 224, 0.25);
  border-color: rgba(0, 224, 224, 0.75);
  box-shadow: 0 0 10px rgba(0, 224, 224, 0.4);
  transform: scale(1.08);
}

.footer-fb-link {
  padding-left: 0 !important;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom p {
  color: #555555;
  font-size: 0.82rem;
  margin: 0;
}

.footer-made-with {
  color: #444444 !important;
  font-size: 0.8rem !important;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 1.5rem 2rem 1.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 1.2rem 1.5rem;
  }
}

/* ===== Scroll Reveal Animations ===== */
@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

/* Staggered animation delays for grid children */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ===== Active Navigation Link ===== */
.nav-link.active {
  color: var(--accent-cyan);
  text-shadow: 0 0 8px rgba(0, 224, 224, 0.5);
}

/* ===== Mobile Hamburger Menu ===== */
.hamburger-btn {
  display: none;
  background: linear-gradient(135deg, rgba(23, 9, 43, 0.85), rgba(8, 18, 38, 0.9));
  border: 1px solid rgba(0, 224, 224, 0.4);
  border-radius: 12px;
  cursor: pointer;
  padding: 8px;
  z-index: 120;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(0, 224, 224, 0.15);
  transition: all 0.25s ease;
  outline: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
}

.hamburger-btn svg {
  color: var(--accent-cyan);
  display: block;
  filter: drop-shadow(0 0 6px rgba(0, 224, 224, 0.6));
  transition: transform 0.25s ease, color 0.25s ease;
}

.hamburger-btn:hover {
  background: linear-gradient(135deg, rgba(128, 64, 224, 0.4), rgba(0, 224, 224, 0.3));
  border-color: rgba(0, 224, 224, 0.8);
  box-shadow: 0 0 20px rgba(0, 224, 224, 0.4);
}

.hamburger-btn.open {
  border-color: rgba(255, 95, 86, 0.6);
  box-shadow: 0 0 20px rgba(255, 95, 86, 0.35);
  background: rgba(255, 95, 86, 0.15);
}

@media (min-width: 901px) and (max-width: 1250px) {
  .nav-links {
    gap: 1.2rem;
  }
  .nav-link {
    font-size: 1.05rem;
  }
  .navbar-right {
    gap: 1.4rem;
  }
}

@media (max-width: 900px) {
  /* ===== 1. Restored Original Mascot Logo & Compact Right Controls ===== */
  .navbar-container {
    padding: 0 0.8rem;
  }

  .navbar-brand {
    display: block;
    align-self: flex-start;
    height: 90px;
    width: auto;
    position: relative;
    text-decoration: none;
    overflow: visible;
    margin: 0;
    padding: 0;
    pointer-events: none;
  }

  .brand-robot-img {
    display: block;
    height: 183.12px !important;
    max-height: none !important;
    width: auto !important;
    max-width: none !important;
    position: absolute;
    top: 0 !important;
    left: 0 !important;
    z-index: 20;
    pointer-events: auto;
    filter: none;
  }

  .navbar-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 88px;
    align-self: flex-start;
    transform: translateY(5px);
    position: relative;
    z-index: 120;
  }

  .lang-dropdown-wrapper {
    display: inline-block;
  }

  .lang-selector-btn {
    padding: 6px 10px;
    font-size: 0.88rem;
    gap: 6px;
    border-radius: 10px;
  }

  .lang-arrow {
    font-size: 0.75rem;
  }

  .hamburger-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 6px;
    border-radius: 10px;
  }

  .nav-links {
    position: fixed !important;
    top: 90px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 2.2rem 1.5rem !important;
    background: #0d0b1a !important;
    background: rgba(11, 9, 24, 0.98) !important;
    backdrop-filter: blur(28px) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 1rem !important;
    border-bottom: 2px solid var(--accent-cyan) !important;
    border-radius: 0 0 24px 24px !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), inset 0 0 30px rgba(0, 224, 224, 0.06) !important;
    transform: translateY(-130%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    z-index: 999999 !important;
  }

  .nav-links.mobile-open {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .nav-link {
    font-size: 1.15rem !important;
    font-weight: 600 !important;
    width: 92% !important;
    max-width: 380px !important;
    text-align: center !important;
    padding: 0.9rem 1.4rem !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(0, 224, 224, 0.3) !important;
    color: #ffffff !important;
    white-space: nowrap !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5) !important;
    transition: all 0.25s ease !important;
    display: block !important;
  }

  .nav-link:hover, .nav-link:active {
    background: rgba(0, 224, 224, 0.2) !important;
    border-color: rgba(0, 224, 224, 0.8) !important;
    color: #00e0e0 !important;
    box-shadow: 0 0 20px rgba(0, 224, 224, 0.4) !important;
    transform: translateY(-2px) !important;
  }

  .lang-dropdown-wrapper {
    display: inline-block;
  }

  /* ===== 2. Responsive Mobile Hero Section (Desktop Aesthetic Parity) ===== */
  .hero-section {
    min-height: auto;
    padding: 3.5rem 1.2rem 2.5rem 1.2rem;
    position: relative;
    overflow: hidden;
    background: #0d0b1a !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .hero-section::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: url('images/content.png') center 30px / contain no-repeat !important;
    opacity: 0.38 !important;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.8) 60%, rgba(0, 0, 0, 0) 100%) !important;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.8) 60%, rgba(0, 0, 0, 0) 100%) !important;
    z-index: 1 !important;
    pointer-events: none !important;
    display: block !important;
  }

  .hero-content-inner {
    position: relative !important;
    z-index: 10 !important;
    width: 100% !important;
  }

  .hero-title {
    font-size: 2.2rem !important;
    line-height: 1.25 !important;
    margin-bottom: 1.2rem !important;
    text-shadow: 0 0 25px rgba(0, 0, 0, 0.95), 0 0 15px rgba(0, 224, 224, 0.4) !important;
  }

  .hero-subtitle {
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
    margin-bottom: 2rem !important;
    color: #e0e6ed !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9) !important;
  }

  .hero-buttons {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto 2.2rem auto !important;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.95rem 1.5rem !important;
    font-size: 1.05rem !important;
  }

  .hero-pillars-bar {
    transform: none !important;
    margin-top: 2.2rem !important;
    margin-bottom: 0.5rem !important;
    position: relative !important;
    z-index: 10 !important;
    width: 100% !important;
    background: rgba(18, 14, 38, 0.85) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(0, 224, 224, 0.3) !important;
    border-radius: 20px !important;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(0, 224, 224, 0.08) !important;
  }

  .hero-pillars-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.2rem !important;
    padding: 1.4rem !important;
  }

  /* Prevent overlapping with Services section */
  #szolgaltatasok, .services-section {
    padding-top: 3.5rem !important;
    margin-top: 0 !important;
  }

  /* ===== 3. Responsive About Us Code Editor IDE Window ===== */
  .code-editor-window {
    border-radius: 14px;
    margin: 0 auto;
    width: 100%;
  }

  .editor-header {
    padding: 0.4rem 0.8rem;
  }

  .editor-tab {
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
  }

  .editor-meta {
    display: none;
  }

  .editor-body {
    padding: 0.75rem 0.6rem;
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .line-numbers {
    padding-right: 0.5rem;
    font-size: 0.72rem;
    opacity: 0.6;
  }

  .code-content {
    padding-left: 0.5rem;
  }

  .code-line {
    white-space: pre-wrap !important;
    word-break: break-word !important;
    height: auto !important;
    min-height: 1.4em;
    margin-bottom: 0.15rem;
  }

  .code-line.indent {
    padding-left: 0.6rem;
  }

  .code-line.indent-double {
    padding-left: 1.2rem;
  }

  /* ===== 4. Vertical Cyber Network Flow (Process Step-by-Step Mobile) ===== */
  .network-horizontal-wrapper {
    padding-left: 2rem;
    position: relative;
  }

  /* Vertical Cyber Line on Left Side */
  .network-spine-horizontal-center {
    top: 0;
    bottom: 0;
    left: 17px;
    width: 3px;
    height: 100%;
    transform: none;
    background: linear-gradient(180deg, var(--accent-cyan) 0%, var(--accent-purple) 50%, var(--accent-cyan) 100%);
    box-shadow: 0 0 12px var(--accent-cyan);
  }

  .network-spine-pulse-h {
    display: none;
  }

  .network-alternating-grid {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
    min-height: auto;
  }

  .network-h-col {
    position: relative;
    margin: 0 !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
  }

  .network-h-col .network-node {
    position: absolute;
    left: -2.35rem;
    top: 0.4rem;
    width: 34px;
    height: 34px;
    font-size: 0.8rem;
    z-index: 10;
  }

  .network-connect-stem {
    display: none !important;
  }

  .network-card {
    width: 100%;
    margin-left: 0;
    padding: 1.4rem 1.2rem;
  }

  /* ===== 5. Responsive Featured Project Card (Kortalan Öröm) ===== */
  .portfolio-section {
    padding: 3.5rem 1.2rem 2rem 1.2rem;
  }

  .featured-project {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    padding: 1.5rem 1.2rem;
    border-radius: 20px;
  }

  .project-visual {
    width: 100%;
  }

  .browser-frame {
    width: 100%;
    border-radius: 14px;
  }

  .browser-content img {
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: cover;
    object-position: top;
  }

  .project-content {
    padding: 0;
  }

  .project-title {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
  }

  .project-description {
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 1.4rem;
  }

  .project-tags {
    gap: 0.5rem;
    margin-bottom: 1.6rem;
  }

  .project-tags span {
    padding: 0.35rem 0.8rem;
    font-size: 0.8rem;
  }

  .project-button {
    width: 100%;
    justify-content: center;
  }

  .page-content {
    padding: 8rem 1.2rem 3rem 1.2rem;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .contact-section {
    padding: 2rem 1.2rem;
  }
}

@media (max-width: 580px) {
  .hero-pillars-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

/* ===== Under Development Gate & Secret Admin Modal ===== */
.underdev-body {
  background-color: var(--bg-dark);
  color: #ffffff;
  font-family: var(--font-heading);
  height: 100vh;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 1rem;
}

.underdev-bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 15% 20%, rgba(0, 224, 224, 0.1) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(128, 64, 224, 0.12) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.underdev-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  max-height: 96vh;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 24px;
  padding: 1.8rem 2.2rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), inset 0 0 35px rgba(0, 224, 224, 0.03);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: auto;
  box-sizing: border-box;
}

.underdev-brand-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.underdev-image-wrapper {
  margin-bottom: 1.2rem;
  width: 100%;
  display: flex;
  justify-content: center;
}

.underdev-img {
  max-height: 40vh;
  max-width: 520px;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 30px rgba(0, 224, 224, 0.28));
  transition: transform 0.4s ease, filter 0.4s ease;
}

.underdev-img:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 16px 38px rgba(0, 224, 224, 0.38));
}

.underdev-main-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.underdev-subtext {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 650px;
  line-height: 1.5;
  margin-bottom: 1.4rem;
}

.underdev-contacts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.underdev-fb-badge:hover {
  border-color: rgba(0, 224, 224, 0.8);
  box-shadow: 0 8px 25px rgba(0, 224, 224, 0.3);
}

/* Secret Admin Trigger Button (Bottom Left Corner) */
.secret-admin-trigger {
  position: fixed;
  bottom: 14px;
  left: 14px;
  width: 24px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 999;
  opacity: 0.12;
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.secret-admin-trigger:hover {
  opacity: 0.9;
  transform: scale(1.35);
}

.secret-dot {
  width: 7px;
  height: 7px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-cyan);
}

/* Admin Passcode Modal Customizations */
.admin-pass-modal-card {
  max-width: 440px;
  padding: 2.2rem 2rem;
  text-align: left;
}

.admin-modal-header {
  text-align: center;
  margin-bottom: 1.4rem;
}

.admin-modal-icon {
  font-size: 2.4rem;
  margin-bottom: 0.4rem;
  filter: drop-shadow(0 0 10px rgba(0, 224, 224, 0.5));
}

.admin-pass-error {
  color: #ff5f56;
  background: rgba(255, 95, 86, 0.12);
  border: 1px solid rgba(255, 95, 86, 0.35);
  border-radius: 10px;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
  text-align: center;
}

@media (max-width: 768px) {
  .underdev-container {
    padding: 1.5rem 1.2rem;
    max-height: 98vh;
    border-radius: 20px;
  }
  
  .underdev-img {
    max-height: 35vh;
    max-width: 380px;
  }

  .underdev-main-title {
    font-size: 1.6rem;
  }

  .underdev-subtext {
    font-size: 0.9rem;
    margin-bottom: 1.1rem;
  }

  .underdev-contacts {
    gap: 0.8rem;
    width: 100%;
  }

  .underdev-contacts .contact-email-badge {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
}

@media (max-width: 480px), (max-height: 680px) {
  .underdev-body {
    height: auto;
    min-height: 100vh;
    overflow-y: auto;
    padding: 1rem 0.8rem;
  }

  .underdev-container {
    max-height: none;
    padding: 1.4rem 1rem;
  }

  .underdev-img {
    max-height: 25vh;
    max-width: 280px;
  }

  .underdev-main-title {
    font-size: 1.35rem;
  }

  .underdev-subtext {
    font-size: 0.85rem;
    line-height: 1.45;
  }

  .admin-pass-modal-card {
    width: 92%;
    padding: 1.6rem 1.2rem;
  }
}

/* =========================================================
   FLOATING COOKIE BUTTON & PREFERENCES MODAL
========================================================= */

/* ===== Morphing Bottom Left Cookie Trigger Wrapper ===== */
.cookie-trigger-wrapper {
  position: fixed !important;
  bottom: 22px !important;
  left: 22px !important;
  width: 58px;
  height: 58px;
  background: rgba(18, 14, 36, 0.94);
  border: 1px solid rgba(0, 224, 224, 0.55);
  border-radius: 50px;
  z-index: 999999 !important;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6), 0 0 18px rgba(0, 224, 224, 0.25);
  transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), 
              min-height 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), 
              border-radius 0.5s ease, 
              box-shadow 0.4s ease,
              background 0.4s ease,
              padding 0.4s ease;
  overflow: hidden;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding: 0;
}

/* Expanded State: Circle morphs to the right into a rounded rectangle stretching almost across the screen */
.cookie-trigger-wrapper.expanded {
  width: calc(100vw - 44px);
  max-width: 1080px;
  height: auto;
  min-height: 72px;
  border-radius: 22px;
  padding: 0.8rem 1.2rem;
  background: rgba(11, 9, 24, 0.97);
  border-color: rgba(0, 224, 224, 0.75);
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.95), 0 0 35px rgba(0, 224, 224, 0.3);
}

.cookie-trigger-btn {
  width: 58px;
  height: 58px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  outline: none;
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cookie-trigger-wrapper:not(.expanded) .cookie-trigger-btn:hover {
  transform: scale(1.12) rotate(6deg);
}

.cookie-trigger-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 224, 224, 0.5));
}

/* Morphing Banner Content */
.cookie-banner-morph-content {
  display: none;
  opacity: 0;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding-left: 0.3rem;
  transition: opacity 0.4s ease 0.15s;
}

.cookie-trigger-wrapper.expanded .cookie-banner-morph-content {
  display: flex;
  opacity: 1;
}

.cookie-banner-text-group {
  flex: 1;
  min-width: 220px;
}

.cookie-banner-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.2rem 0;
  letter-spacing: 0.5px;
}

.cookie-banner-desc {
  font-size: 0.82rem;
  color: #b0bac9;
  margin: 0;
  line-height: 1.4;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: nowrap;
}

.btn-cookie-accept-all {
  background: linear-gradient(135deg, rgba(0, 224, 224, 0.35), rgba(128, 64, 224, 0.45));
  border: 1px solid rgba(0, 224, 224, 0.75);
  color: #ffffff;
  padding: 0.6rem 1rem;
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 224, 224, 0.25);
  transition: all 0.25s ease;
}

.btn-cookie-accept-all:hover {
  background: linear-gradient(135deg, rgba(0, 224, 224, 0.55), rgba(128, 64, 224, 0.65));
  border-color: rgba(0, 224, 224, 1);
  box-shadow: 0 6px 20px rgba(0, 224, 224, 0.45);
  transform: translateY(-2px);
}

.btn-cookie-necessary {
  background: rgba(0, 224, 224, 0.12);
  border: 1px solid rgba(0, 224, 224, 0.35);
  color: #00e0e0;
  padding: 0.6rem 1rem;
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.btn-cookie-necessary:hover {
  background: rgba(0, 224, 224, 0.22);
  border-color: rgba(0, 224, 224, 0.7);
  box-shadow: 0 0 15px rgba(0, 224, 224, 0.3);
  transform: translateY(-2px);
}

.btn-cookie-reject-all {
  background: rgba(255, 95, 86, 0.1);
  border: 1px solid rgba(255, 95, 86, 0.3);
  color: #ff7b72;
  padding: 0.6rem 1rem;
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.btn-cookie-reject-all:hover {
  background: rgba(255, 95, 86, 0.2);
  border-color: rgba(255, 95, 86, 0.6);
  color: #ff5f56;
  box-shadow: 0 0 15px rgba(255, 95, 86, 0.3);
  transform: translateY(-2px);
}

.btn-cookie-customize {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #d0d7de;
  padding: 0.6rem 0.9rem;
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.btn-cookie-customize:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .cookie-trigger-wrapper.expanded {
    width: calc(100vw - 24px) !important;
    left: 12px !important;
    bottom: 12px !important;
    padding: 1rem 1.1rem;
  }
  .cookie-banner-morph-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }
  .cookie-banner-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }
  .btn-cookie-accept-all,
  .btn-cookie-necessary,
  .btn-cookie-reject-all,
  .btn-cookie-customize {
    width: 100%;
    padding: 0.7rem 1rem;
    font-size: 0.88rem;
  }
}

/* Cookie Preferences Modal Overlay */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 6, 18, 0.82);
  backdrop-filter: blur(14px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Cookie Modal Card */
.cookie-modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 24px;
  max-width: 560px;
  width: 100%;
  padding: 2.2rem 2.4rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), inset 0 0 30px rgba(0, 224, 224, 0.04);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.cookie-modal-overlay.active .cookie-modal-card {
  transform: translateY(0) scale(1);
}

/* Modal Header */
.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie-title-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cookie-modal-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 224, 224, 0.5));
}

.cookie-modal-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}

.cookie-modal-subtitle {
  font-size: 0.82rem;
  color: var(--accent-cyan);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.cookie-modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  padding: 0 0.4rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.cookie-modal-close:hover {
  color: #ffffff;
  transform: scale(1.15);
}

/* Modal Body */
.cookie-intro-text {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.4rem;
}

.cookie-options-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 1.8rem;
}

.cookie-option-card {
  background: rgba(10, 9, 20, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: border-color 0.25s ease;
}

.cookie-option-card:hover {
  border-color: rgba(0, 224, 224, 0.3);
}

.cookie-option-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.25rem;
}

.cookie-option-name {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
}

.cookie-badge-required {
  background: rgba(0, 224, 224, 0.15);
  border: 1px solid rgba(0, 224, 224, 0.4);
  color: var(--accent-cyan);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.6rem;
  border-radius: 10px;
  text-transform: uppercase;
}

.cookie-option-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 0;
}

/* Cyber Toggle Switch */
.cyber-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.cyber-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cyber-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cyber-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: #ffffff;
  border-radius: 50%;
  transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cyber-switch input:checked + .cyber-slider {
  background: linear-gradient(135deg, rgba(0, 224, 224, 0.4), rgba(128, 64, 224, 0.5));
  border-color: rgba(0, 224, 224, 0.7);
  box-shadow: 0 0 10px rgba(0, 224, 224, 0.3);
}

.cyber-switch input:checked + .cyber-slider:before {
  transform: translateX(20px);
  background-color: #ffffff;
  box-shadow: 0 0 8px var(--accent-cyan);
}

.cyber-switch input:disabled + .cyber-slider {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Modal Actions Footer */
.cookie-modal-footer {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
}

.cookie-btn {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  white-space: nowrap;
  box-sizing: border-box;
}

.cookie-btn-accept {
  background: linear-gradient(135deg, rgba(0, 224, 224, 0.25), rgba(128, 64, 224, 0.35));
  border: 1px solid rgba(0, 224, 224, 0.6);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 224, 224, 0.2);
}

.cookie-btn-accept:hover {
  background: linear-gradient(135deg, rgba(0, 224, 224, 0.4), rgba(128, 64, 224, 0.5));
  border-color: rgba(0, 224, 224, 0.9);
  box-shadow: 0 6px 20px rgba(0, 224, 224, 0.35);
  transform: translateY(-2px);
}

.cookie-btn-save {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.cookie-btn-save:hover {
  background: rgba(0, 224, 224, 0.12);
  border-color: rgba(0, 224, 224, 0.4);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

.cookie-btn-reject {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

.cookie-btn-reject:hover {
  border-color: rgba(255, 95, 86, 0.4);
  color: #ff5f56;
  background: rgba(255, 95, 86, 0.08);
}

@media (max-width: 600px) {
  .cookie-trigger-btn {
    bottom: 16px;
    left: 16px;
    width: 50px;
    height: 50px;
  }
  .cookie-trigger-img {
    width: 30px;
    height: 30px;
  }
  .cookie-modal-card {
    padding: 1.5rem 1.2rem;
  }
  .cookie-modal-footer {
    flex-direction: column;
    width: 100%;
    gap: 0.65rem;
  }
  .cookie-btn {
    width: 100%;
    font-size: 0.92rem;
    padding: 0.8rem 1rem;
  }
}
