/* ============================================
   VEZEON PVT LTD — Orange & Silver 3D Theme
   ============================================ */

:root {
  --orange: #ff6b00;
  --orange-light: #ff8c33;
  --orange-dark: #e05a00;
  --orange-glow: rgba(255, 107, 0, 0.4);
  --silver: #c0c0c0;
  --silver-light: #e8e8e8;
  --silver-dark: #8a8a8a;
  --silver-muted: #a0a0a0;
  --bg-dark: #0a0a0f;
  --bg-card: rgba(20, 20, 28, 0.7);
  --bg-card-hover: rgba(30, 30, 40, 0.85);
  --border: rgba(192, 192, 192, 0.12);
  --border-orange: rgba(255, 107, 0, 0.3);
  --text-primary: #f0f0f0;
  --text-secondary: #a0a0a8;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-display: 'Orbitron', 'Inter', sans-serif;
  --nav-height: 72px;
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

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

#canvas-3d {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.accent {
  background: linear-gradient(135deg, var(--orange-light), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Navbar ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav-logo img {
  height: 44px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  object-position: left center;
}

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

.nav-links a {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover {
  color: var(--orange);
  background: rgba(255, 107, 0, 0.08);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--silver);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-transform: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  box-shadow: 0 4px 20px var(--orange-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--orange-glow);
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-outline {
  background: transparent;
  color: var(--silver-light);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(255, 107, 0, 0.06);
}

.btn-full {
  width: 100%;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding: calc(var(--nav-height) + 48px) 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(255, 107, 0, 0.1);
  border: 1px solid var(--border-orange);
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
}

.title-line {
  display: block;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.stat-card {
  padding: 16px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(10px);
  transition: transform var(--transition), border-color var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-orange);
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--orange);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Hero 3D Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  perspective: 1000px;
}

.hero-logo-3d {
  position: relative;
  z-index: 2;
  transform-style: preserve-3d;
  animation: floatLogo 6s ease-in-out infinite;
}

.hero-logo-img {
  width: clamp(220px, 30vw, 360px);
  border-radius: 20px;
  filter: drop-shadow(0 20px 60px rgba(255, 107, 0, 0.25))
          drop-shadow(0 0 40px rgba(192, 192, 192, 0.1));
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0) rotateY(0deg); }
  50% { transform: translateY(-20px) rotateY(8deg); }
}

.floating-cube {
  position: absolute;
  border-radius: 12px;
  opacity: 0.6;
  animation: floatCube 8s ease-in-out infinite;
}

.cube-1 {
  width: 60px;
  height: 60px;
  top: 10%;
  left: 10%;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  box-shadow: 0 0 30px var(--orange-glow);
  animation-delay: 0s;
}

.cube-2 {
  width: 40px;
  height: 40px;
  bottom: 20%;
  right: 15%;
  background: linear-gradient(135deg, var(--silver), var(--silver-dark));
  box-shadow: 0 0 20px rgba(192, 192, 192, 0.2);
  animation-delay: -2s;
}

.cube-3 {
  width: 30px;
  height: 30px;
  top: 30%;
  right: 5%;
  background: linear-gradient(135deg, var(--orange-light), var(--silver));
  animation-delay: -4s;
}

@keyframes floatCube {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-30px) rotate(120deg); }
  66% { transform: translateY(15px) rotate(240deg); }
}

/* ---- Sections ---- */
.section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ---- 3D Cards ---- */
.card-3d {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  transform-style: preserve-3d;
}

.card-3d:hover {
  border-color: var(--border-orange);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(255, 107, 0, 0.08);
}

/* ---- About ---- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about-card {
  padding: 36px 28px;
}

.about-card .card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 0, 0.1);
  border: 1px solid var(--border-orange);
  border-radius: 14px;
  margin-bottom: 20px;
  color: var(--orange);
}

.about-card .card-icon svg {
  width: 26px;
  height: 26px;
}

.about-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--silver-light);
}

.about-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---- Services ---- */
.services {
  background: linear-gradient(180deg, transparent, rgba(255, 107, 0, 0.02), transparent);
  overflow: hidden;
}

.services .section-header {
  margin-bottom: 48px;
}

.services-cards-wrapper {
  width: 100%;
  overflow: hidden;
}

/* Service cards */
.service-cards-track.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.service-cards-track {
  display: flex;
  cursor: grab;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: max(24px, calc((100vw - 1200px) / 2 + 24px));
  padding: 8px max(24px, calc((100vw - 1200px) / 2 + 24px)) 32px max(24px, calc((100vw - 1200px) / 2 + 24px));
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
}

.service-cards-track::-webkit-scrollbar {
  display: none;
}

.service-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.service-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-image img {
  transform: scale(1.05);
}

.service-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
}

.service-card-tag {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--orange);
  margin-bottom: 8px;
}

.service-card-body h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--silver-light);
  margin-bottom: 8px;
}

.service-card-body p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 14px;
  flex: 1;
}

.service-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.service-tags li {
  padding: 3px 10px;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--orange);
  background: rgba(255, 107, 0, 0.08);
  border: 1px solid var(--border-orange);
  border-radius: 50px;
}

/* ---- Projects ---- */
.projects {
  background: linear-gradient(180deg, rgba(255, 107, 0, 0.02), transparent);
}

.projects-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.project-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 0;
  overflow: hidden;
}

.project-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 48px 32px;
  background: linear-gradient(160deg, #f4f4f6 0%, #ececee 100%);
  border-right: 1px solid var(--border);
}

.project-visual img {
  width: auto;
  height: auto;
  max-width: 240px;
  max-height: 240px;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.project-card:hover .project-visual img {
  transform: scale(1.05);
}

.project-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--silver-light);
  background: rgba(10, 10, 15, 0.85);
  border: 1px solid var(--border);
  border-radius: 50px;
  backdrop-filter: blur(8px);
}

.project-content {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.project-content h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--silver-light);
  margin-bottom: 6px;
}

.project-type {
  font-size: 0.85rem;
  color: var(--orange);
  font-weight: 500;
  margin-bottom: 16px;
}

.project-content > p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.project-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin-bottom: 24px;
}

.project-features li {
  position: relative;
  padding-left: 18px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.project-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-top: auto;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--orange);
  transition: gap var(--transition), color var(--transition);
}

.project-link svg {
  width: 16px;
  height: 16px;
}

.project-link:hover {
  gap: 12px;
  color: var(--orange-light);
}

.project-link-play svg {
  width: 18px;
  height: 18px;
}

/* ---- Founder ---- */
.founder-content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.founder-name-block {
  margin-bottom: 28px;
}

.founder-name-block h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--silver-light);
  margin-bottom: 6px;
}

.founder-role {
  font-size: 0.95rem;
  color: var(--orange);
  font-weight: 500;
}

.founder-quote {
  position: relative;
  padding: 28px 32px;
  margin-bottom: 32px;
  background: rgba(255, 107, 0, 0.06);
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  text-align: left;
}

.founder-quote p {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--silver-light);
  line-height: 1.8;
}

.founder-vision {
  text-align: left;
}

.founder-vision h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.founder-vision p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.founder-signature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--silver);
}

.signature-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), transparent);
}

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
}

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

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-card h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.contact-card a {
  color: var(--silver-light);
  font-size: 1rem;
  transition: color var(--transition);
}

.contact-card a:hover {
  color: var(--orange);
}

.contact-card p {
  color: var(--silver-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-form {
  padding: 36px;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  background: rgba(10, 10, 15, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--silver-dark);
}

.form-note {
  margin-top: 12px;
  font-size: 0.85rem;
  text-align: center;
  color: var(--orange);
  min-height: 20px;
}

/* ---- Footer ---- */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  background: rgba(10, 10, 15, 0.9);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 10px;
}

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

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  width: 100%;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--silver-dark);
  margin-bottom: 4px;
}

/* ---- Scroll Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: calc(var(--nav-height) + 32px);
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    min-height: 300px;
    order: -1;
  }

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

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

  .project-visual {
    min-height: 220px;
    padding: 40px 24px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .project-visual img {
    max-width: 200px;
    max-height: 200px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

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

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    padding: 16px 24px 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 12px 16px;
    font-size: 1rem;
  }

  .section {
    padding: 72px 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    flex: 0 0 280px;
  }

  .service-card-image {
    height: 180px;
  }

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

  .project-content {
    padding: 24px 20px;
  }

  .hero-stats {
    flex-direction: column;
    align-items: center;
  }

  .stat-card {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .contact-form {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    padding: 12px 24px;
  }

  .founder-quote {
    padding: 20px;
  }

  .founder-quote p {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
