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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #f8fafc;
  background: #000000;
  overflow-x: hidden;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bagel-logo {
  width: 40px;
  height: 40px;
}

.digital-bagel {
  width: 100%;
  height: 100%;
}

.nav-brand a {
  text-decoration: none;
  color: inherit;
}

.nav-brand h2 {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin: 0;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
  align-items: center;
}

.nav-menu li {
  display: flex;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
  line-height: 1.5;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background: #ffffff;
  transition: width 0.3s ease;
}

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

.nav-menu a:hover {
  color: #ffffff;
  opacity: 0.8;
}

.nav-menu a.active {
  opacity: 0.8;
  color: #ffffff;
}

.nav-contact-btn {
  background: #ffffff;
  color: #000000 !important;
  padding: 10px 24px !important;
  border-radius: 8px;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1.5;
}

.nav-contact-btn::after {
  display: none;
}

.btn-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.nav-contact-btn:hover {
  background: rgba(255, 255, 255, 0.9) !important;
  color: #000000 !important;
  opacity: 1 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.nav-contact-btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* Hero Section */
.hero {
  padding: 140px 0 100px;
  background: #000000;
  color: white;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 25px;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.hero-content h1 {
  font-size: 4.5rem;
  font-weight: 900;
  margin-bottom: 30px;
  line-height: 1.05;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 45px;
  color: #a1a1aa;
  line-height: 1.7;
  max-width: 550px;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

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

.btn-primary {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 48px rgba(255, 255, 255, 0.3);
}

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

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

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.sci-fi-bagel {
  width: 500px;
  height: 500px;
  position: relative;
  animation: gentle-rotate 30s linear infinite;
}

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

.bagel-outer {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: pulse-border 4s ease-in-out infinite;
}

.bagel-middle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70%;
  height: 70%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulse-border 4s ease-in-out infinite reverse;
}

.bagel-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40%;
  height: 40%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulse-border 4s ease-in-out infinite;
}

.bagel-nodes {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
}

.bagel-node {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
  animation: node-glow 2s ease-in-out infinite;
}

.bagel-node:nth-child(1) { top: 15%; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.bagel-node:nth-child(2) { top: 35%; right: 20%; animation-delay: 0.5s; }
.bagel-node:nth-child(3) { bottom: 35%; right: 20%; animation-delay: 1s; }
.bagel-node:nth-child(4) { bottom: 15%; left: 50%; transform: translateX(-50%); animation-delay: 1.5s; }
.bagel-node:nth-child(5) { bottom: 35%; left: 20%; animation-delay: 0.25s; }
.bagel-node:nth-child(6) { top: 35%; left: 20%; animation-delay: 0.75s; }

.bagel-node:nth-child(7) { top: 25%; left: 35%; animation-delay: 1.25s; }
.bagel-node:nth-child(8) { top: 25%; right: 35%; animation-delay: 1.75s; }
.bagel-node:nth-child(9) { bottom: 25%; right: 35%; animation-delay: 0.1s; }
.bagel-node:nth-child(10) { bottom: 25%; left: 35%; animation-delay: 0.6s; }

@keyframes node-glow {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
  }
}

@keyframes pulse-border {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.8;
  }
}

.bagel-lines {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
}

.bagel-line {
  position: absolute;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent);
  animation: line-pulse 3s ease-in-out infinite;
}

.bagel-line:nth-child(1) {
  top: 50%;
  left: 10%;
  right: 10%;
  height: 1px;
  transform: translateY(-50%);
  animation-delay: 0s;
}

.bagel-line:nth-child(2) {
  left: 50%;
  top: 10%;
  bottom: 10%;
  width: 1px;
  transform: translateX(-50%);
  animation-delay: 1s;
}

.bagel-line:nth-child(3) {
  top: 25%;
  left: 25%;
  width: 50%;
  height: 1px;
  transform: rotate(45deg) translate(-50%, -50%);
  animation-delay: 2s;
}

.bagel-line:nth-child(4) {
  top: 25%;
  left: 25%;
  width: 50%;
  height: 1px;
  transform: rotate(-45deg) translate(-50%, -50%);
  animation-delay: 0.5s;
}

@keyframes line-pulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.6; }
}

/* Services Section */
.services {
  padding: 120px 0;
  background: #000000;
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.01) 0%, transparent 50%);
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 1;
}

.section-header h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1.2rem;
  color: #a1a1aa;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 40px;
  position: relative;
  z-index: 1;
}

.service-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  padding: 50px 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.02);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 16px;
  color: #000000;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-icon svg {
  width: 30px;
  height: 30px;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.service-card p {
  color: #a1a1aa;
  line-height: 1.7;
  font-size: 1rem;
}

/* Contact Section */
.contact {
  padding: 120px 0;
  background: #000000;
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.01);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.contact-image {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.image-container {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.contact-stock-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.image-container:hover .contact-stock-image {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.overlay-content {
  text-align: center;
  color: #ffffff;
  position: relative;
}

.overlay-content h3 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.overlay-content p {
  font-size: 1.6rem;
  opacity: 0.9;
  font-weight: 300;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.overlay-accent {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.5));
  margin: 20px auto 0;
  border-radius: 2px;
}

.contact-form {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
    padding: 30px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #ffffff;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 12px;
  font-weight: 600;
  color: #ffffff;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  color: #ffffff;
  transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #a1a1aa;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

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

.success-message {
  margin-top: 20px;
  padding: 16px;
  background: rgba(34, 197, 94, 0.1);
  color: #4ade80;
  border-radius: 10px;
  border: 1px solid rgba(34, 197, 94, 0.2);
  text-align: center;
  backdrop-filter: blur(10px);
}

/* Footer */
.footer {
  background: #000000;
  color: white;
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 80px;
  margin-bottom: 60px;
}

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

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

.footer-brand h3 {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: -0.02em;
}

.footer-brand p {
  color: #a1a1aa;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-column h4 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: #a1a1aa;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.footer-bottom p {
  opacity: 0.6;
  font-size: 0.95rem;
  color: #a1a1aa;
  margin: 0;
}

/* Responsive Footer */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 60px 0 30px;
  }

  .footer-content {
    gap: 50px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

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

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

::-webkit-scrollbar-thumb {
  background: #ffffff;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-container {
    gap: 50px;
  }

  .hero-content h1 {
    font-size: 3.5rem;
  }

  .contact-container {
    gap: 60px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
    padding: 0 20px;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .section-header h2 {
    font-size: 2.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-card {
    padding: 40px 30px;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .contact-form {
    padding: 40px 30px;
  }

  .overlay-content h3 {
    font-size: 1.8rem;
  }

  .overlay-content p {
    font-size: 1.2rem;
  }

  .sci-fi-bagel {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 6px 12px;
  }

  .btn {
    padding: 14px 24px;
    font-size: 0.9rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .contact-form {
    padding: 25px 20px;
  }

  .overlay-content h3 {
    font-size: 1.5rem;
  }

  .overlay-content p {
    font-size: 1rem;
  }

  .sci-fi-bagel {
    width: 250px;
    height: 250px;
  }
  }
  