* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

:root {
  --bg: #0b0f19;
  --card: rgba(255,255,255,0.06);
  --text: #ffffff;
  --muted: #a1a1aa;
  --accent: #6366f1;
}

.light {
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #020617;
  --muted: #475569;
}

body {
  background: var(--bg);
  color: var(--text);
  transition: 0.4s;
}

/* LOADER */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader span {
  font-size: 2rem;
  letter-spacing: 2px;
  animation: fade 1.5s infinite;
}

@keyframes fade {
  0% { opacity: 1 }
  100% { opacity: 0.3 }
}

/* TOGGLE */
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--card);
  color: var(--text);
  border: none;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 10%;
}

.hero-content {
  max-width: 900px;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--card);
  border-radius: 30px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.2;
}

.hero span {
  background: linear-gradient(90deg, #6366f1, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtext {
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.1rem;
}

.cta {
  margin-top: 30px;
  display: flex;
  gap: 20px;
}

.btn {
  padding: 14px 26px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
}

.primary {
  background: var(--accent);
  color: white;
}

.ghost {
  border: 1px solid var(--accent);
  color: var(--accent);
}

/* SERVICES */
.services {
  padding: 100px 10%;
}

.services h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--card);
  padding: 30px;
  border-radius: 20px;
  backdrop-filter: blur(12px);
  transition: 0.4s;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(99,102,241,0.2);
}

/* CTA */
.cta-section {
  text-align: center;
  padding: 100px 10%;
}

.cta-section p {
  margin: 20px 0;
  color: var(--muted);
}

/* CONTACT */
.contact {
  padding: 100px 10%;
}

form {
  max-width: 450px;
}

input, textarea {
  width: 100%;
  margin: 12px 0;
  padding: 14px;
  border-radius: 12px;
  border: none;
}

button {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: none;
  background: var(--accent);
  color: white;
  font-weight: 600;
  cursor: pointer;
}
.contact-cards {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* CARD BASE */
.contact-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 28px;
  min-width: 260px;

  background: var(--card);
  backdrop-filter: blur(14px);
  border-radius: 20px;

  text-decoration: none;
  color: var(--text);

  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* ICON */
.contact-card span {
  font-size: 2rem;
}

/* TEXT */
.contact-card h4 {
  font-size: 1rem;
  font-weight: 600;
}

.contact-card p {
  font-size: 0.95rem;
  color: var(--muted);
}

/* HOVER EFFECT */
.contact-card:hover {
  transform: translateY(-10px) scale(1.04);
  box-shadow: 0 25px 45px rgba(99,102,241,0.35);
}

/* GLOW LINE */
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, var(--accent), transparent);
  opacity: 0;
}

.contact-card:hover::before {
  opacity: 0.35;
  animation: shine 1.6s linear infinite;
}

@keyframes shine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* CLICK FEEDBACK */
.contact-card:active {
  transform: scale(0.98);
}
