/* ============================================================
   PLATINTECH - PLATINUM PREMIUM THEME
   Responsive Corporate Software & IT Theme
   ============================================================ */

:root {
  --platinum: #e5e4e2;
  --platinum-dark: #b5b3b0;
  --platinum-light: #f0f0f0;
  --primary: #1a2332;
  --primary-light: #2a3a52;
  --accent: #c0c0c0;
  --accent-gold: #d4af37;
  --accent-gold-dark: #b8941f;
  --success: #2ecc71;
  --warning: #f39c12;
  --error: #e74c3c;
  --info: #3498db;
  --dark: #0d1117;
  --dark-2: #161b22;
  --dark-3: #21262d;
  --gray: #6b7280;
  --gray-light: #e5e7eb;
  --white: #ffffff;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg: #f8fafc;
  --border: #e5e7eb;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}

h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }

a { text-decoration: none; color: var(--accent-gold-dark); transition: var(--transition); }
a:hover { color: var(--accent-gold); }

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

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

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(212,175,55,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(212,175,55,0.4);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-dark {
  background: var(--primary);
  color: var(--white);
}
.btn-dark:hover { background: var(--primary-light); color: var(--white); }

.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(13,17,23,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212,175,55,0.15);
  transition: var(--transition);
}
.header.scrolled {
  background: rgba(13,17,23,0.95);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}
.logo img { height: 40px; width: auto; }
.logo span { color: var(--accent-gold); }

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

.nav-menu a {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 4px 0;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: var(--transition);
}
.nav-menu a:hover, .nav-menu a.active {
  color: var(--accent-gold);
}
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.1);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
}
.lang-switch a {
  color: rgba(255,255,255,0.6);
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 600;
}
.lang-switch a.active {
  background: var(--accent-gold);
  color: var(--dark);
}

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

/* ============================================================
   BANNER / HERO SLIDER
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--dark);
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
}
.hero-slide.active { opacity: 1; }

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(13,17,23,0.92) 0%, rgba(13,17,23,0.6) 50%, rgba(13,17,23,0.8) 100%);
  z-index: 1;
}

.hero-slide img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 20px;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.15;
}
.hero-content h1 .gold { color: var(--accent-gold); }

.hero-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1.15rem;
  margin-bottom: 30px;
  max-width: 600px;
}

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

.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.hero-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--accent-gold);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}
.hero-dots button.active { background: var(--accent-gold); }

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(212,175,55,0.3);
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.hero-arrow:hover { background: var(--accent-gold); color: var(--dark); }
.hero-arrow.prev { left: 20px; }
.hero-arrow.next { right: 20px; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 80px 0; }
.section-dark { background: var(--dark-2); color: var(--platinum-light); }
.section-dark h2, .section-dark h3 { color: var(--white); }

.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-header h2 {
  margin-bottom: 12px;
}
.section-header .subtitle {
  color: var(--accent-gold);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  display: block;
}
.section-header p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}
.section-dark .section-header p { color: rgba(255,255,255,0.6); }

/* ============================================================
   FEATURES (NEDEN BIZ)
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  padding: 35px 25px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-gold);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
  color: var(--white);
}

.feature-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature-card p { color: var(--text-light); font-size: 0.95rem; }

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-gold-dark);
  background: rgba(212,175,55,0.1);
  margin-bottom: 20px;
}

.service-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.service-card p { color: var(--text-light); margin-bottom: 16px; }

/* ============================================================
   STATISTICS
   ============================================================ */
.stats {
  background: linear-gradient(135deg, var(--dark), var(--primary));
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(212,175,55,0.08) 0%, transparent 50%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}

.stat-item { text-align: center; }
.stat-item .stat-icon {
  font-size: 2.5rem;
  color: var(--accent-gold);
  margin-bottom: 15px;
}
.stat-item .stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-item .stat-label {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  margin-top: 8px;
}

/* ============================================================
   SOFTWARE CARDS (HAZIR YAZILIMLAR)
   ============================================================ */
.software-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.software-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}
.software-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.software-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--dark-2);
}
.software-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.software-card:hover .software-image img { transform: scale(1.05); }

.software-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent-gold);
  color: var(--dark);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

.software-body { padding: 25px; }
.software-body h3 { font-size: 1.25rem; margin-bottom: 10px; }
.software-body p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 16px; }

.software-features {
  list-style: none;
  margin-bottom: 20px;
}
.software-features li {
  padding: 4px 0;
  font-size: 0.9rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.software-features li::before {
  content: '\2713';
  color: var(--accent-gold-dark);
  font-weight: 700;
}

/* ============================================================
   PROJECT CARDS
   ============================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.project-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: var(--transition);
  height: 320px;
}
.project-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.project-card:hover img { transform: scale(1.1); }

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 25px;
  background: linear-gradient(transparent, rgba(13,17,23,0.95));
  color: var(--white);
  transform: translateY(0);
  transition: var(--transition);
}
.project-overlay h3 { color: var(--white); margin-bottom: 6px; font-size: 1.2rem; }
.project-overlay p { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.project-overlay .project-cat {
  display: inline-block;
  background: var(--accent-gold);
  color: var(--dark);
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 8px;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.about-image img { width: 100%; height: 450px; object-fit: cover; }

.about-content h2 { margin-bottom: 20px; }
.about-content p { color: var(--text-light); margin-bottom: 16px; font-size: 1.05rem; }

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 30px;
}
.vm-card {
  background: var(--white);
  padding: 25px;
  border-radius: var(--radius);
  border-left: 4px solid var(--accent-gold);
  box-shadow: var(--shadow);
}
.vm-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.vm-card p { color: var(--text-light); font-size: 0.95rem; }

/* ============================================================
   TEAM
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.team-photo {
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: var(--gray-light);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }

.team-info { padding: 20px; }
.team-info h3 { font-size: 1.1rem; margin-bottom: 4px; }
.team-info .position { color: var(--accent-gold-dark); font-size: 0.9rem; font-weight: 600; }

.team-social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}
.team-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 0.9rem;
}
.team-social a:hover { background: var(--accent-gold); color: var(--white); }

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.blog-image { height: 200px; overflow: hidden; }
.blog-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.blog-card:hover .blog-image img { transform: scale(1.05); }

.blog-body { padding: 25px; }
.blog-date { color: var(--accent-gold-dark); font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; }
.blog-body h3 { font-size: 1.2rem; margin-bottom: 10px; }
.blog-body p { color: var(--text-light); font-size: 0.9rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
}

.contact-info-card {
  background: linear-gradient(135deg, var(--dark), var(--primary));
  padding: 40px;
  border-radius: var(--radius);
  color: var(--white);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 25px;
}
.contact-info-item .icon {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(212,175,55,0.15);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-info-item h4 { color: var(--white); font-size: 1rem; margin-bottom: 4px; }
.contact-info-item p, .contact-info-item a { color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.contact-info-item a:hover { color: var(--accent-gold); }

.contact-form-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: var(--text);
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--bg);
}
.form-control:focus {
  outline: none;
  border-color: var(--accent-gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.1);
}
textarea.form-control { min-height: 120px; resize: vertical; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.alert {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}
.alert-success { background: rgba(46,204,113,0.1); color: #1a8a4a; border: 1px solid rgba(46,204,113,0.3); }
.alert-error { background: rgba(231,76,60,0.1); color: #c0392b; border: 1px solid rgba(231,76,60,0.3); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 15px;
}
.footer-brand h3 span { color: var(--accent-gold); }
.footer-brand p { font-size: 0.9rem; margin-bottom: 20px; }

.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--accent-gold); color: var(--dark); transform: translateY(-3px); }

.footer-col h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--accent-gold); padding-left: 5px; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}
.footer-contact-item i { color: var(--accent-gold); margin-top: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
}
.footer-bottom a { color: var(--accent-gold); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-gold);
  color: var(--dark);
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: var(--shadow-lg);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); }

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--dark), var(--primary));
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(212,175,55,0.1) 0%, transparent 60%);
}
.page-header h1 { color: var(--white); position: relative; z-index: 1; }
.page-header p { color: rgba(255,255,255,0.7); position: relative; z-index: 1; margin-top: 10px; }

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}
.breadcrumb a { color: var(--accent-gold); }
.breadcrumb span { color: rgba(255,255,255,0.5); }

/* ============================================================
   SOFTWARE DETAIL
   ============================================================ */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.detail-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.detail-image img { width: 100%; }

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.screenshot-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: var(--transition);
}
.screenshot-item:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }
.screenshot-item img { width: 100%; height: 200px; object-fit: cover; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: pointer;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90%; max-height: 90%; border-radius: var(--radius-sm); }
.lightbox-close {
  position: absolute;
  top: 20px; right: 30px;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.pagination a, .pagination span {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}
.pagination a:hover, .pagination .current {
  background: var(--accent-gold);
  color: var(--dark);
  border-color: var(--accent-gold);
}

/* ============================================================
   404 PAGE
   ============================================================ */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.error-page h1 { font-size: 6rem; color: var(--accent-gold); }
.error-page p { font-size: 1.2rem; color: var(--text-light); margin-bottom: 30px; }

/* ============================================================
   MAINTENANCE PAGE
   ============================================================ */
.maintenance-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--dark), var(--primary));
  color: var(--white);
}
.maintenance-page h1 { color: var(--accent-gold); margin-bottom: 20px; }
.maintenance-page p { color: rgba(255,255,255,0.7); font-size: 1.1rem; max-width: 500px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .software-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {

  .header-inner{
      position:relative;
  }

  .nav-menu{
      display:none;
      position:absolute;
      top:100%;
      left:0;
      width:100%;
      background:var(--dark);
      flex-direction:column;
      gap:0;
      padding:20px 0;
      list-style:none;
      z-index:9999;
  }

  .nav-menu.active{
      display:flex;
  }

  .nav-menu li{
      width:100%;
  }

  .nav-menu li a{
      display:block;
      width:100%;
      padding:15px 20px;
      border-bottom:1px solid rgba(255,255,255,.1);
      font-size:1rem;
  }

  .mobile-toggle{
      display:block;
  }



  .mobile-toggle { display: block; }

  .hero { height: 90vh; min-height: 500px; }
  .hero-content { padding: 0 30px; }
  .hero-content h1 { font-size: 1.8rem; }
  .hero-content p { font-size: 1rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .hero-arrow { display: none; }

  .section { padding: 50px 0; }

  .features-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .software-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stat-item .stat-number { font-size: 2rem; }

  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-image img { height: 300px; }
  .vm-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-info-card, .contact-form-card { padding: 25px; }

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

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

  .page-header { padding: 100px 0 40px; }

  .container { padding: 0 16px; }
}

@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
  .screenshot-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 1.5rem; }
  .btn { padding: 10px 22px; font-size: 0.9rem; }
  .logo { font-size: 1.2rem; }
  .logo img { height: 32px; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.fade-in-up { animation: fadeInUp 0.6s ease-out; }
.fade-in { animation: fadeIn 0.8s ease-out; }

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   LOADING SPINNER
   ============================================================ */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }