/* ============================================================
   TMK GLOBAL LLC — home.css
   Homepage-Specific Styles
============================================================ */

/* ============================================================
   HERO SECTION
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: var(--nav-h) 0 56px;
  width: 100%;
}

.hero-content {
  flex: 1;
  max-width: 640px;
  padding: 44px 0 56px;
}

/* ── Hero Heading ─────────────────────────────────────────── */
.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  color: var(--text-primary);
}

.hero-subheading {
  font-size: clamp(0.97rem, 1.5vw, 1.08rem);
  color: var(--text-muted);
  line-height: 1.78;
  margin-bottom: 28px;
  max-width: 600px;
}

/* ── CTA Group ────────────────────────────────────────────── */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

/* ── Hero Stats ───────────────────────────────────────────── */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--neon-green);
  text-shadow: 0 0 16px rgba(0, 255, 136, 0.5);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.hero-stat-divider {
  width: 1px; height: 40px;
  background: var(--border-subtle);
  flex-shrink: 0;
}

/* ── Hero Visual (3D) ─────────────────────────────────────── */
.hero-visual {
  flex-shrink: 0;
  width: 400px;
  height: 400px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-visual::before {
  content: '';
  position: absolute;
  width: 260px; height: 260px;
  background: radial-gradient(ellipse, rgba(0, 102, 255, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  animation: blobPulse 5s ease-in-out infinite alternate;
}

/* ── CSS 3D Cube ──────────────────────────────────────────── */
.cube-scene {
  width: 140px; height: 140px;
  perspective: 550px;
  position: relative;
  z-index: 2;
}
.cube {
  width: 100%; height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: spinCube 14s linear infinite;
}
@keyframes spinCube {
  0%   { transform: rotateX(15deg) rotateY(0deg); }
  100% { transform: rotateX(15deg) rotateY(360deg); }
}

/* ── Orbit Rings ──────────────────────────────────────────── */
.orbit-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border-style: solid;
}
.orbit-1 {
  width: 200px; height: 200px;
  border-width: 1px;
  border-color: rgba(0, 255, 136, 0.22);
  animation: orbitA 7s linear infinite;
}
.orbit-2 {
  width: 290px; height: 290px;
  border-width: 1px;
  border-color: rgba(0, 212, 255, 0.16);
  animation: orbitB 11s linear infinite reverse;
}
.orbit-3 {
  width: 380px; height: 380px;
  border-width: 1px;
  border-color: rgba(0, 85, 238, 0.1);
  animation: orbitA 17s linear infinite;
}
.orbit-1::after,
.orbit-2::after {
  content: '';
  position: absolute;
  width: 7px; height: 7px;
  border-radius: 50%;
  top: -3px; left: 50%;
  transform: translateX(-50%);
}
.orbit-1::after { background: var(--neon-green); box-shadow: 0 0 8px var(--neon-green); }
.orbit-2::after { background: var(--electric-blue); box-shadow: 0 0 8px var(--electric-blue); }

/* ── Corner accents on cube ───────────────────────────────── */
.cube-glow {
  position: absolute;
  width: 8px; height: 8px;
  background: var(--neon-green);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--neon-green), 0 0 24px var(--neon-green);
  animation: glowPulse 2s ease-in-out infinite alternate;
  z-index: 3;
}
@keyframes glowPulse {
  from { opacity: 0.5; transform: scale(0.8); }
  to   { opacity: 1;   transform: scale(1.2); }
}

/* ── Scroll Indicator ─────────────────────────────────────── */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: var(--trans);
}
.scroll-indicator:hover { color: var(--neon-green); }

.scroll-mouse {
  width: 20px; height: 34px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
  transition: var(--trans);
}
.scroll-indicator:hover .scroll-mouse { border-color: var(--neon-green); }
.scroll-wheel {
  width: 3px; height: 7px;
  background: var(--neon-green);
  border-radius: 2px;
  animation: scrollAnim 1.9s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* ============================================================
   ABOUT SECTION
============================================================ */
.about-section {
  background:
    radial-gradient(ellipse 65% 55% at 0% 55%, rgba(0, 255, 136, 0.05) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 100% 20%, rgba(0, 212, 255, 0.04) 0%, transparent 60%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-content .section-badge { display: block; width: fit-content; }

.about-intro-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--electric-blue);
  margin-bottom: 12px;
}
.about-intro-label::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--electric-blue);
}

.about-text {
  color: var(--text-secondary);
  font-size: 0.97rem;
  line-height: 1.82;
  margin-bottom: 18px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin-top: 30px;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.about-feature i {
  color: var(--neon-green);
  font-size: 0.82rem;
  flex-shrink: 0;
  filter: drop-shadow(0 0 4px var(--neon-green));
}

/* ── Stats Grid ───────────────────────────────────────────── */
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.stat-card {
  padding: 30px 24px;
  text-align: center;
  transition: var(--trans);
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,255,136,0.05) 0%, transparent 60%);
  opacity: 0;
  transition: var(--trans);
  border-radius: var(--radius);
}
.stat-card:hover::before { opacity: 1; }
.stat-card:hover {
  border-color: var(--glass-border-h);
  transform: translateY(-5px);
  box-shadow: var(--shadow-neon);
}

.stat-icon {
  width: 50px; height: 50px;
  background: var(--neon-green-dim);
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.25rem;
  color: var(--neon-green);
  transition: var(--trans);
}
.stat-card:hover .stat-icon { box-shadow: 0 0 18px var(--neon-green-glow); }

.stat-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 7px;
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================================
   SERVICES SECTION (Homepage cards)
============================================================ */
.services-section {
  background:
    radial-gradient(ellipse 55% 45% at 85% 25%, rgba(0, 85, 238, 0.08) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(0, 255, 136, 0.04) 0%, transparent 60%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
  position: relative;
  overflow: hidden;
  will-change: transform;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(0,255,136,0.05) 0%, rgba(0,212,255,0.03) 100%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}

.service-icon-wrap {
  width: 58px; height: 58px;
  background: linear-gradient(135deg, var(--neon-green-dim) 0%, var(--blue-dim) 100%);
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--neon-green);
  margin-bottom: 22px;
  transition: var(--trans);
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}

.service-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.72;
  margin-bottom: 22px;
  flex: 1;
}

.service-desc {
  font-size: 15px;
  line-height: 1.6;
}

/* ── Number tag on each card ──────────────────────────────── */
.service-num {
  position: absolute;
  top: 22px; right: 24px;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
  letter-spacing: -0.05em;
}

/* ── Service Cards Base Class ─────────────────────────────── */
.bg-service-card {
  position: relative;
  overflow: hidden;
  background: transparent !important;
  transform-style: preserve-3d;
}
.bg-service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: 95%;
  background-repeat: no-repeat;
  background-color: #050812;
  background-image:
    linear-gradient(
      90deg,
      rgba(4, 8, 15, 0.94) 0%,
      rgba(4, 8, 15, 0.76) 36%,
      rgba(4, 8, 15, 0.34) 64%,
      rgba(4, 8, 15, 0.08) 100%
    );
  z-index: 1;
  transition: transform 0.5s ease;
}
.bg-service-card:hover::before {
  transform: scale(1.03);
}
.bg-service-card > * {
  position: relative;
  z-index: 5;
}
.bg-service-card .service-title,
.bg-service-card .service-desc {
  color: var(--text-primary);
}
.bg-service-card .service-link {
  color: var(--neon-green);
}
.bg-service-card .service-title,
.bg-service-card .service-desc,
.bg-service-card .service-link {
  max-width: 72%;
  position: relative;
  z-index: 2;
}
.bg-service-card .service-num {
  position: absolute;
  top: 24px;
  right: 24px;
  left: auto;
  color: rgba(255, 255, 255, 0.06);
}

/* ── Individual card background images ───────────────────── */
.virtual-assistance-card::before  { background-position: 135% bottom; background-image: linear-gradient(90deg, rgba(4, 8, 15, 0.92) 0%, rgba(4, 8, 15, 0.72) 35%, rgba(4, 8, 15, 0.35) 62%, rgba(4, 8, 15, 0.08) 100%), url("../assets/virtual-assistance-bg.webp"); }
.customer-service-card::before    { background-position: 185% bottom; background-image: linear-gradient(90deg, rgba(4, 8, 15, 0.94) 0%, rgba(4, 8, 15, 0.76) 36%, rgba(4, 8, 15, 0.34) 64%, rgba(4, 8, 15, 0.08) 100%), url("../assets/customer-support-bg.webp"); }
.crm-software-card::before        { background-position: 150% bottom; background-image: linear-gradient(90deg, rgba(4, 8, 15, 0.94) 0%, rgba(4, 8, 15, 0.76) 36%, rgba(4, 8, 15, 0.34) 64%, rgba(4, 8, 15, 0.08) 100%), url("../assets/crm-software-bg.webp"); }
.web-development-card::before     { background-position: 160% bottom; background-image: linear-gradient(90deg, rgba(4, 8, 15, 0.94) 0%, rgba(4, 8, 15, 0.76) 36%, rgba(4, 8, 15, 0.34) 64%, rgba(4, 8, 15, 0.08) 100%), url("../assets/web-development-bg.webp"); }
.ai-integration-card::before      { background-position: 160% bottom; background-image: linear-gradient(90deg, rgba(4, 8, 15, 0.94) 0%, rgba(4, 8, 15, 0.76) 36%, rgba(4, 8, 15, 0.34) 64%, rgba(4, 8, 15, 0.08) 100%), url("../assets/ai-integration-bg.webp"); }
.digital-marketing-card::before   { background-position: 160% bottom; background-image: linear-gradient(90deg, rgba(4, 8, 15, 0.94) 0%, rgba(4, 8, 15, 0.76) 36%, rgba(4, 8, 15, 0.34) 64%, rgba(4, 8, 15, 0.08) 100%), url("../assets/digital-marketing-bg.webp"); }
.content-writing-card::before     { background-position: 160% bottom; background-image: linear-gradient(90deg, rgba(4, 8, 15, 0.94) 0%, rgba(4, 8, 15, 0.76) 36%, rgba(4, 8, 15, 0.34) 64%, rgba(4, 8, 15, 0.08) 100%), url("../assets/content-writing-bg.webp"); }

/* =========================================
   TMK SERVICE CUBE
========================================= */
.cube-wrapper {
  width: 420px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  position: relative;
}

.service-cube {
  width: 220px;
  height: 220px;
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
  animation: rotateCube 20s ease-in-out infinite;
}

.cube-face {
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1.5px solid rgba(0, 255, 170, 0.75);
  background: rgba(0, 20, 40, 0.35);
  backdrop-filter: blur(8px);
  box-shadow:
    0 0 30px rgba(0, 255, 170, 0.18),
    inset 0 0 30px rgba(0, 255, 170, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #00f5b8;
}

.cube-face i {
  font-size: 48px;
  text-shadow: 0 0 15px rgba(0,255,170,0.6);
}

.cube-face span {
  font-size: 20px;
  font-weight: 700;
  color: white;
  letter-spacing: 1px;
}

.cube-logo {
  width: 130px;
  filter: drop-shadow(0 0 15px rgba(0,255,170,0.7));
}

.cube-front  { transform: translateZ(110px); }
.cube-back   { transform: rotateY(180deg) translateZ(110px); }
.cube-right  { transform: rotateY(90deg) translateZ(110px); }
.cube-left   { transform: rotateY(-90deg) translateZ(110px); }
.cube-top    { transform: rotateX(90deg) translateZ(110px); }
.cube-bottom { transform: rotateX(-90deg) translateZ(110px); }

@keyframes rotateCube {
  0%   { transform: rotateX(0deg) rotateY(0deg); }
  16%  { transform: rotateX(0deg) rotateY(90deg); }
  32%  { transform: rotateX(0deg) rotateY(180deg); }
  48%  { transform: rotateX(0deg) rotateY(270deg); }
  64%  { transform: rotateX(90deg) rotateY(360deg); }
  80%  { transform: rotateX(-90deg) rotateY(360deg); }
  100% { transform: rotateX(0deg) rotateY(360deg); }
}

/* Premium Learn More Button */
.service-link {
  width: fit-content;
  margin-top: auto;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 170, 0.45);
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.18), rgba(0, 212, 255, 0.12));
  color: var(--text-primary);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 18px rgba(0, 255, 170, 0.18),
    inset 0 0 18px rgba(0, 255, 170, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -90%;
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
}

.service-link i {
  transition: transform 0.3s ease;
}

.service-link:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 255, 170, 0.9);
  box-shadow:
    0 0 28px rgba(0, 255, 170, 0.35),
    0 0 45px rgba(0, 212, 255, 0.18),
    inset 0 0 20px rgba(0, 255, 170, 0.12);
}

.service-link:hover::before {
  left: 120%;
}

.service-link:hover i {
  transform: translateX(5px);
}

/* ============================================================
   BLOG SECTION
============================================================ */
.blog-section {
  background: radial-gradient(ellipse 55% 45% at 15% 65%, rgba(0, 255, 136, 0.04) 0%, transparent 65%);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.blog-card {
  overflow: hidden;
  transition: var(--trans);
}

.blog-thumb {
  height: 195px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-thumb-icon {
  width: 68px; height: 68px;
  background: rgba(5, 5, 8, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.65rem;
  color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  transition: var(--trans);
}
.blog-card:hover .blog-thumb-icon { transform: scale(1.1); }

.blog-body { padding: 26px; }

.blog-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(0, 212, 255, 0.09);
  border: 1px solid rgba(0, 212, 255, 0.24);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--electric-blue);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 13px;
}

.blog-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.42;
  margin-bottom: 11px;
  color: var(--text-primary);
  transition: var(--trans);
}
.blog-card:hover .blog-title { color: var(--neon-green); }

.blog-excerpt {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.68;
  margin-bottom: 18px;
}

.blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  border-top: 1px solid var(--border-subtle);
}
.blog-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 6px;
}
.blog-date i { color: var(--neon-green); font-size: 0.75rem; }
.blog-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--neon-green);
  transition: var(--trans);
}
.blog-more:hover { gap: 9px; }
.blog-more i { font-size: 0.7rem; }

/* ============================================================
   CONTACT SECTION
============================================================ */
.contact-section {
  background:
    radial-gradient(ellipse 55% 50% at 90% 50%, rgba(0, 85, 238, 0.07) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 5% 30%, rgba(0, 255, 136, 0.04) 0%, transparent 60%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.3fr;
  gap: 52px;
  align-items: start;
}

/* ── Contact Info ─────────────────────────────────────────── */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  transition: var(--trans);
  text-decoration: none;
}
.contact-item:hover { background: var(--glass-bg); }

.ci-icon {
  width: 44px; height: 44px;
  min-width: 44px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: var(--trans);
}
.ci-green  { background: var(--neon-green-dim); border: 1px solid rgba(0,255,136,0.2); color: var(--neon-green); }
.ci-blue   { background: var(--blue-dim); border: 1px solid rgba(0,212,255,0.2); color: var(--electric-blue); }
.ci-wa     { background: rgba(37,211,102,0.1); border: 1px solid rgba(37,211,102,0.25); color: #25d366; }
.ci-purple { background: rgba(139,92,246,0.1); border: 1px solid rgba(139,92,246,0.2); color: #8b5cf6; }

.contact-item:hover .ci-icon { transform: scale(1.08); }

.ci-text { display: flex; flex-direction: column; gap: 3px; }
.ci-label { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }
.ci-value { font-size: 0.93rem; color: var(--text-secondary); font-weight: 500; line-height: 1.4; }

/* ── Social Links ─────────────────────────────────────────── */
.social-wrap { padding: 0 18px; }
.social-label { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); margin-bottom: 14px; }
.social-row { display: flex; gap: 10px; }

.soc-link {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: var(--glass-bg);
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: var(--trans);
}
.soc-link:hover { transform: translateY(-3px); }
.soc-link.soc-li:hover   { border-color: #0077b5; color: #0077b5; background: rgba(0,119,181,0.1); }
.soc-link.soc-ig:hover   { border-color: #e1306c; color: #e1306c; background: rgba(225,48,108,0.1); }
.soc-link.soc-fb:hover   { border-color: #1877f2; color: #1877f2; background: rgba(24,119,242,0.1); }

/* ── Contact Form ─────────────────────────────────────────── */
.contact-form {
  padding: 40px 38px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
}
.form-group:last-of-type { margin-bottom: 24px; }

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text-primary);
  font-size: 0.93rem;
  transition: var(--trans);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7'%3E%3Cpath d='M0 0l5 7 5-7z' fill='%237a8494'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-group select option { background: #0a0a12; }
.form-group textarea { resize: vertical; min-height: 130px; }

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(122, 132, 148, 0.5); }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--neon-green);
  background: rgba(0, 255, 136, 0.04);
  box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
}
.form-group input.error,
.form-group textarea.error {
  border-color: #ff4466;
  box-shadow: 0 0 0 3px rgba(255, 68, 102, 0.1);
}

.form-err {
  font-size: 0.77rem;
  color: #ff4466;
  min-height: 16px;
}

.btn-submit {
  width: 100%;
  justify-content: center;
  border-radius: var(--radius-sm);
  padding: 15px;
  font-size: 1rem;
}

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(0, 255, 136, 0.07);
  border: 1px solid rgba(0, 255, 136, 0.3);
  border-radius: var(--radius-sm);
  color: var(--neon-green);
  font-size: 0.9rem;
  margin-top: 14px;
}
.form-success.show { display: flex; animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
