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

:root {
  --bg-color: #05060a;
  --card-bg: rgba(10, 12, 22, 0.65);
  --card-border: rgba(255, 255, 255, 0.06);
  --card-border-glow: rgba(0, 242, 254, 0.3);
  
  --primary-color: #00f2fe; /* Electric Cyan */
  --secondary-color: #7f00ff; /* Electric Purple */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  --gradient-dark: linear-gradient(180deg, rgba(10, 12, 22, 0.8) 0%, rgba(5, 6, 10, 0.95) 100%);
  
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --glow-shadow: 0 0 20px rgba(0, 242, 254, 0.25);
  --glow-shadow-purple: 0 0 20px rgba(127, 0, 255, 0.25);
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

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

/* Canvas Background */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: all;
  background-color: var(--bg-color);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
  background: rgba(127, 0, 255, 0.3);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gradient-primary);
  box-shadow: var(--glow-shadow);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

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

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* Header & Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
  background: rgba(5, 6, 10, 0.7);
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 0.5rem 0;
  background: rgba(5, 6, 10, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  transition: height 0.3s ease;
}

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

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span.community {
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(127, 0, 255, 0.15);
  color: var(--primary-color);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 242, 254, 0.2);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

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

.nav-links a:hover {
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Glassmorphism Card Style */
.glass-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  padding: 2.5rem;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
              border-color 0.4s ease, 
              box-shadow 0.4s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: var(--card-border-glow);
  box-shadow: var(--glow-shadow);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 2rem;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #000;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 242, 254, 0.5);
  color: #000;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border: 1px solid var(--card-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 242, 254, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 242, 254, 0.1);
}

/* Sections General */
section {
  padding: 8rem 0 4rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 242, 254, 0.06);
  border: 1px solid rgba(0, 242, 254, 0.15);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  width: fit-content;
  color: var(--primary-color);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.05);
}

.hero-badge svg {
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  font-weight: 800;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

/* Cybernetic Visual representation on Hero */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 400px;
}

.visual-core {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.2) 0%, rgba(127, 0, 255, 0.05) 70%);
  border: 1px solid rgba(0, 242, 254, 0.3);
  position: relative;
  animation: float 6s ease-in-out infinite;
  box-shadow: var(--glow-shadow), inset 0 0 30px rgba(0, 242, 254, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-core svg {
  width: 80px;
  height: 80px;
  color: var(--primary-color);
  filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.5));
}

.visual-orbit-1, .visual-orbit-2 {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.1);
}

.visual-orbit-1 {
  width: 300px;
  height: 300px;
  border-top: 2px solid rgba(0, 242, 254, 0.4);
  border-bottom: 2px solid rgba(127, 0, 255, 0.4);
  animation: rotate-clockwise 15s linear infinite;
}

.visual-orbit-2 {
  width: 360px;
  height: 360px;
  border-left: 1px solid rgba(0, 242, 254, 0.2);
  border-right: 1px solid rgba(127, 0, 255, 0.2);
  animation: rotate-counter 20s linear infinite;
}

.tech-node {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--primary-color);
  border-radius: 50%;
  box-shadow: var(--glow-shadow);
}

.tn-1 { top: 10%; left: 50%; transform: translateX(-50%); }
.tn-2 { bottom: 20%; right: 15%; background: var(--secondary-color); box-shadow: var(--glow-shadow-purple); }
.tn-3 { bottom: 15%; left: 10%; }

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 860px;
  margin: 0 auto;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
}

.service-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon-wrapper {
  background: var(--gradient-primary);
  border-color: transparent;
  box-shadow: var(--glow-shadow);
}

.service-card:hover .service-icon-wrapper svg {
  color: #000;
  filter: none;
}

.service-icon-wrapper svg {
  width: 28px;
  height: 28px;
  color: var(--primary-color);
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 4px rgba(0, 242, 254, 0.3));
}

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

.service-card p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.service-features li svg {
  color: var(--primary-color);
  flex-shrink: 0;
}

/* QR Code Section */
.qr-section {
  position: relative;
}

.qr-card-container {
  max-width: 800px;
  margin: 0 auto;
}

.qr-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.4rem;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.qr-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qr-tab-btn.active {
  background: rgba(255, 255, 255, 0.06);
  color: var(--primary-color);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

.qr-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.qr-display-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.qr-frame {
  background: #fff; /* White background is required for reliable QR code scanning */
  padding: 1.5rem;
  border-radius: 16px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 242, 254, 0.15);
  border: 2px solid var(--primary-color);
  width: 240px;
  height: 240px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Ensure the QR code generator container scales inside frame */
#qrcode-contact, #qrcode-web {
  width: 190px !important;
  height: 190px !important;
}

#qrcode-contact img, #qrcode-web img,
#qrcode-contact canvas, #qrcode-web canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.qr-tab-content {
  display: none;
}

.qr-tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease forwards;
}

.qr-info-pane {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.qr-info-pane h3 {
  font-size: 1.8rem;
}

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

.qr-data-badge {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-family: monospace;
  font-size: 0.9rem;
  color: var(--primary-color);
  word-break: break-all;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.btn-icon-only {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
}

.btn-icon-only:hover {
  color: var(--primary-color);
}

.qr-actions-row {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-method-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.contact-method-card:hover {
  border-color: var(--card-border-glow);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.05);
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(0, 242, 254, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  flex-shrink: 0;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.contact-detail span.label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-detail a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

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

/* Contact Form Simulation */
.contact-form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-control {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
  background: rgba(255, 255, 255, 0.04);
}

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

/* Footer */
footer {
  border-top: 1px solid var(--card-border);
  padding: 3rem 0;
  background: rgba(5, 6, 10, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

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

.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  text-decoration: none;
}

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

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

.footer-socials a {
  color: var(--text-muted);
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-socials a:hover {
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

@keyframes rotate-clockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotate-counter {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes pulse {
  0% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
  100% { opacity: 0.5; transform: scale(1); }
}

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

/* Scroll reveal class setup */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Copy Confirmation Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  right: -300px;
  background: var(--gradient-primary);
  color: #000;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: var(--glow-shadow);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 1000;
  transition: right 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
  right: 2rem;
}

/* Responsive design adjustments */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-badge {
    margin: 0 auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  
  .qr-content-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .qr-display-box {
    order: 2;
  }
  
  .qr-info-pane {
    order: 1;
  }
  
  .qr-data-badge {
    justify-content: center;
  }
  
  .qr-actions-row {
    justify-content: center;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(5, 6, 10, 0.95);
    border-bottom: 1px solid var(--card-border);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    align-items: center;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

/* Language Switcher Styling */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 1rem;
  position: relative;
  z-index: 105;
  pointer-events: auto;
}

.lang-divider {
  color: var(--text-muted);
  font-size: 0.85rem;
  user-select: none;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  position: relative;
  z-index: 106;
  pointer-events: auto;
}

.lang-btn:hover {
  color: var(--text-primary);
}

.lang-btn.active {
  color: var(--primary-color);
  font-weight: 700;
  text-shadow: 0 0 8px rgba(0, 242, 254, 0.5);
}

@media (max-width: 768px) {
  .lang-switcher {
    margin-left: 0;
    margin-top: 0.5rem;
  }
}

/* Inline LinkedIn Link styles */
.linkedin-link {
  color: var(--primary-color);
  text-decoration: none;
  border-bottom: 1px dashed rgba(0, 242, 254, 0.4);
  transition: all 0.3s ease;
  font-weight: 600;
}

.linkedin-link:hover {
  color: var(--text-primary);
  border-bottom-color: var(--text-primary);
  text-shadow: 0 0 8px rgba(0, 242, 254, 0.6);
}


