:root {
  --bg: #07111f;
  --surface: rgba(10, 20, 36, 0.9);
  --surface-strong: #0f1d33;
  --text: #f6f8ff;
  --muted: #8da0c1;
  --primary: #4f8cff;
  --primary-strong: #72b2ff;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --radius: 24px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  background: linear-gradient(135deg, #04101d 0%, var(--bg) 50%, #0b1730 100%);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
}

.background-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.3;
  pointer-events: none;
  z-index: -1;
}

.glow-1 {
  width: 280px;
  height: 280px;
  background: var(--primary);
  top: 80px;
  right: -80px;
}

.glow-2 {
  width: 350px;
  height: 350px;
  background: #2e8bff;
  bottom: 120px;
  left: -120px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(7, 17, 31, 0.78);
  border-bottom: 1px solid var(--border);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo {
  width: 50px;
  height: 50px;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(79, 140, 255, 0.2));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 1rem;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.8rem;
}

.site-nav {
  display: flex;
  gap: 1.3rem;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  display: block;
}

.hero {
  padding: 5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(79, 140, 255, 0.14);
  color: var(--primary-strong);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.hero h1,
.section-heading h2,
.contact-card h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero p,
.section-heading p,
.about-card p,
.service-card p,
.project-content p,
.benefit-card p,
.blog-card p,
.contact-card p,
.info-card li,
.site-footer p,
.footer-grid a {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.7rem 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #4cc9ff);
  color: white;
  box-shadow: 0 12px 30px rgba(79, 140, 255, 0.25);
}

.btn-secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.hero-stats > div {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.hero-stats strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
  min-height: 420px;
}

.visual-card {
  background: linear-gradient(145deg, rgba(10, 20, 36, 0.95), rgba(7, 17, 31, 0.82));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.main-card {
  position: relative;
  padding-top: 2.8rem;
}

.visual-header {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.visual-header span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.code-window {
  padding: 1.5rem;
  border-radius: 18px;
  background: rgba(1, 7, 16, 0.8);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
}

.code-line {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(79, 140, 255, 0.12);
  color: #b7d4ff;
}

.side-card {
  position: absolute;
  left: -20px;
  bottom: -30px;
  width: 240px;
  animation: float 4.5s ease-in-out infinite;
}

.side-card h3 {
  margin-bottom: 0.8rem;
}

.side-card ul {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
}

.section {
  padding: 5rem 0;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 2.1rem;
}

.about-grid,
.services-grid,
.portfolio-grid,
.tech-grid,
.benefits-grid,
.blog-grid {
  display: grid;
  gap: 1.2rem;
}

.about-grid {
  grid-template-columns: repeat(3, 1fr);
}

.about-card,
.service-card,
.project-card,
.benefit-card,
.blog-card,
.tech-category,
.info-card,
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-card,
.service-card,
.benefit-card,
.blog-card {
  padding: 1.4rem;
}

.service-card:hover,
.project-card:hover,
.about-card:hover,
.benefit-card:hover,
.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 140, 255, 0.5);
}

.service-card {
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.service-icon {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.services-grid {
  grid-template-columns: repeat(3, 1fr);
}

.portfolio-grid {
  grid-template-columns: repeat(2, 1fr);
}

.project-card {
  overflow: hidden;
}

.project-image {
  height: 220px;
  background-size: cover;
  background-position: center;
}

.education {
  background: linear-gradient(135deg, rgba(79, 140, 255, 0.4), rgba(7, 17, 31, 0.9)), url("0146.png");
}

.management {
  background: linear-gradient(135deg, rgba(76, 201, 255, 0.4), rgba(7, 17, 31, 0.9)), url("erp-system.png");
}

.ecom {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.45), rgba(7, 17, 31, 0.9)), url("store.png");
}

.ai {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.4), rgba(7, 17, 31, 0.9)), url("https://images.unsplash.com/photo-1677442136019-21780ecad995?auto=format&fit=crop&w=900&q=80");
}

.project-content {
  padding: 1.2rem 1.2rem 1.4rem;
}

.project-tech {
  color: var(--primary-strong);
  margin: 0.7rem 0 0.8rem;
  font-size: 0.95rem;
}

.project-content a {
  color: var(--primary-strong);
}

.tech-grid {
  grid-template-columns: repeat(2, 1fr);
}

.tech-category {
  padding: 1.4rem;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.tech-list span {
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(79, 140, 255, 0.12);
  color: #cfe2ff;
}

.benefits-grid {
  grid-template-columns: repeat(3, 1fr);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.timeline-item {
  padding: 1.2rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.timeline-item span {
  display: inline-block;
  color: var(--primary-strong);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.blog-grid {
  grid-template-columns: repeat(3, 1fr);
}

.contact-section {
  padding-bottom: 6rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 1.2rem;
}

.contact-card,
.info-card {
  padding: 1.5rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #7d93b8;
}

.info-card ul {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0 1.3rem;
}

.social-links {
  display: flex;
  gap: 0.7rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(79, 140, 255, 0.12);
  color: var(--primary-strong);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.4rem 0 2rem;
  background: rgba(4, 10, 20, 0.8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr;
  gap: 1rem;
}

.footer-grid h4 {
  margin-bottom: 0.7rem;
}

.footer-grid a {
  display: block;
  margin-bottom: 0.45rem;
}

.footer-bottom {
  padding-top: 1.3rem;
  margin-top: 1.3rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.95rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .contact-grid,
  .about-grid,
  .services-grid,
  .portfolio-grid,
  .benefits-grid,
  .blog-grid,
  .timeline,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .side-card {
    position: static;
    width: 100%;
    margin-top: 1rem;
  }

  .hero-visual {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 1rem;
    left: 1rem;
    flex-direction: column;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(7, 17, 31, 0.96);
  }

  .site-nav.open {
    display: flex;
  }

  .hero-stats,
  .about-grid,
  .services-grid,
  .portfolio-grid,
  .tech-grid,
  .benefits-grid,
  .blog-grid,
  .timeline,
  .contact-grid,
  .footer-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .section {
    padding: 4rem 0;
  }
}
