/* ======================================== */
/* RESET                                    */
/* ======================================== */

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

:root {

  --bg: #0b1020;
  --bg-secondary: #11182d;

  --card: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.08);

  --text: #f5f7ff;
  --text-secondary: #b9c0d4;

  --accent: #8b5cf6;
  --accent-2: #ec4899;

  --success: #25D366;

  --shadow:
    0 10px 30px rgba(0,0,0,0.25);

  --radius: 24px;

  --transition:
    0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {

  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;

  background:
    radial-gradient(
      circle at top left,
      rgba(139,92,246,0.18),
      transparent 30%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(236,72,153,0.12),
      transparent 25%
    ),
    var(--bg);

  color: var(--text);

  min-height: 100vh;

  overflow-x: hidden;
}

/* ======================================== */
/* GLOBAL                                   */
/* ======================================== */

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

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

section {
  padding:
    7rem
    8%;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {

  display: inline-flex;

  padding:
    0.45rem
    1rem;

  border-radius: 999px;

  background:
    rgba(139,92,246,0.12);

  border:
    1px solid rgba(139,92,246,0.3);

  color: #c4b5fd;

  font-size: 0.9rem;
  font-weight: 600;

  margin-bottom: 1rem;
}

.section-header h2 {

  font-size:
    clamp(2rem, 5vw, 4rem);

  line-height: 1.1;

  margin-bottom: 1rem;
}

.section-header p {

  max-width: 700px;

  margin: 0 auto;

  color: var(--text-secondary);

  font-size: 1.1rem;
}

/* ======================================== */
/* NAVIGATION                               */
/* ======================================== */

nav {

  position: fixed;

  top: 0;
  left: 0;

  width: 100%;

  z-index: 999;

  padding:
    1.1rem
    8%;

  backdrop-filter: blur(18px);

  background:
    rgba(8,12,24,0.5);

  border-bottom:
    1px solid rgba(255,255,255,0.05);
}

nav ul {

  display: flex;

  align-items: center;
  justify-content: center;

  gap: 2rem;
}

nav a {

  color: var(--text-secondary);

  font-weight: 500;

  transition:
    color var(--transition);
}

nav a:hover,
nav a.active {

  color: white;
}

/* ======================================== */
/* HERO                                     */
/* ======================================== */

.hero {

  position: relative;

  min-height: 100vh;

  display: flex;

  align-items: center;
  justify-content: center;

  overflow: hidden;

  padding-top: 8rem;
}

.hero-background {

  position: absolute;

  inset: 0;

  z-index: 1;
}

.hero-background img {

  width: 100%;
  height: 100%;

  object-fit: cover;

  transform: scale(1.03);

  filter:
    brightness(0.35)
    saturate(1.1);
}

.hero-overlay {

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      to bottom,
      rgba(8,12,24,0.4),
      rgba(8,12,24,0.85)
    );

  z-index: 2;
}

.hero-content {

  position: relative;

  z-index: 3;

  width: 100%;
  max-width: 950px;

  text-align: center;
}

.hero-tag {

  display: inline-flex;

  margin-bottom: 1.5rem;

  padding:
    0.55rem
    1.2rem;

  border-radius: 999px;

  background:
    rgba(255,255,255,0.08);

  border:
    1px solid rgba(255,255,255,0.1);

  backdrop-filter: blur(10px);

  color: #ffffff;
}

.hero h1 {

  font-size:
    clamp(3rem, 8vw, 7rem);

  line-height: 0.95;

  letter-spacing: -0.04em;

  margin-bottom: 2rem;
}

.hero p {

  max-width: 720px;

  margin:
    0 auto
    2.5rem;

  font-size:
    clamp(1rem, 2vw, 1.3rem);

  line-height: 1.7;

  color: var(--text-secondary);
}

/* ======================================== */
/* BUTTONS                                  */
/* ======================================== */

.hero-buttons,
.cta-buttons {

  display: flex;

  justify-content: center;
  align-items: center;

  flex-wrap: wrap;

  gap: 1rem;
}

.btn-primary,
.btn-secondary,
.cta-button {

  display: inline-flex;

  align-items: center;
  justify-content: center;

  padding:
    1rem
    1.8rem;

  border-radius: 16px;

  font-weight: 600;

  transition:
    transform var(--transition),
    background var(--transition),
    border var(--transition);
}

.btn-primary,
.cta-button {

  background:
    linear-gradient(
      135deg,
      var(--accent),
      var(--accent-2)
    );

  color: white;

  box-shadow:
    0 10px 30px rgba(139,92,246,0.35);
}

.btn-primary:hover,
.cta-button:hover {

  transform:
    translateY(-4px)
    scale(1.02);
}

.btn-secondary {

  border:
    1px solid rgba(255,255,255,0.12);

  background:
    rgba(255,255,255,0.04);

  backdrop-filter: blur(10px);

  color: white;
}

.btn-secondary:hover {

  background:
    rgba(255,255,255,0.08);

  transform:
    translateY(-4px);
}

/* ======================================== */
/* SERVICES                                 */
/* ======================================== */

.services-grid {

  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(280px, 1fr));

  gap: 2rem;
}

.service-card {

  position: relative;

  background: var(--card);

  border:
    1px solid var(--border);

  backdrop-filter: blur(18px);

  border-radius: var(--radius);

  padding: 2rem;

  overflow: hidden;

  transition:
    transform var(--transition),
    border var(--transition),
    background var(--transition);
}

.service-card::before {

  content: "";

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      135deg,
      rgba(139,92,246,0.12),
      transparent 40%
    );

  opacity: 0;

  transition:
    opacity var(--transition);
}

.service-card:hover {

  transform:
    translateY(-8px);

  border:
    1px solid rgba(139,92,246,0.25);

  background:
    rgba(255,255,255,0.08);
}

.service-card:hover::before {

  opacity: 1;
}

.service-icon {

  font-size: 2rem;

  margin-bottom: 1rem;
}

.service-card h3 {

  font-size: 1.4rem;

  margin-bottom: 1rem;
}

.service-card p {

  color: var(--text-secondary);

  line-height: 1.7;
}

/* ======================================== */
/* CTA SECTION                              */
/* ======================================== */

.cta-section {

  padding-top: 3rem;
}

.cta-box {

  position: relative;

  overflow: hidden;

  background:
    linear-gradient(
      135deg,
      rgba(139,92,246,0.18),
      rgba(236,72,153,0.12)
    );

  border:
    1px solid rgba(255,255,255,0.08);

  border-radius: 36px;

  padding:
    4rem
    2rem;

  text-align: center;
}

.cta-box h2 {

  font-size:
    clamp(2rem, 5vw, 4rem);

  margin-bottom: 1rem;
}

.cta-box p {

  max-width: 650px;

  margin:
    0 auto
    2rem;

  color: var(--text-secondary);

  line-height: 1.7;
}

/* ======================================== */
/* FOOTER                                   */
/* ======================================== */

footer {

  padding:
    2rem
    8%;

  text-align: center;

  color: var(--text-secondary);

  border-top:
    1px solid rgba(255,255,255,0.05);
}

/* ======================================== */
/* CONTACT FORM                             */
/* ======================================== */

.contact-form-container {

  max-width: 700px;

  margin: 0 auto;

  background: var(--card);

  border:
    1px solid var(--border);

  backdrop-filter: blur(20px);

  border-radius: 32px;

  padding: 2rem;
}

.contact-form-container label {

  display: block;

  margin-bottom: 0.7rem;
  margin-top: 1.5rem;

  color: white;

  font-weight: 600;
}

.contact-form-container input,
.contact-form-container textarea {

  width: 100%;

  background:
    rgba(255,255,255,0.04);

  border:
    1px solid rgba(255,255,255,0.08);

  border-radius: 16px;

  padding: 1rem;

  color: white;

  font-size: 1rem;

  outline: none;

  transition:
    border var(--transition),
    background var(--transition);
}

.contact-form-container input:focus,
.contact-form-container textarea:focus {

  border:
    1px solid rgba(139,92,246,0.5);

  background:
    rgba(255,255,255,0.06);
}

.contact-form-container button {

  width: 100%;

  margin-top: 2rem;

  padding: 1rem;

  border: none;

  border-radius: 18px;

  background:
    linear-gradient(
      135deg,
      var(--accent),
      var(--accent-2)
    );

  color: white;

  font-size: 1rem;
  font-weight: 600;

  cursor: pointer;

  transition:
    transform var(--transition);
}

.contact-form-container button:hover {

  transform:
    translateY(-3px);
}

/* ======================================== */
/* RESPONSIVE                               */
/* ======================================== */

@media (max-width: 900px) {

  section {

    padding:
      5rem
      6%;
  }

  nav {

    padding:
      1rem
      6%;
  }

  .hero {

    min-height: auto;

    padding-top: 10rem;
    padding-bottom: 7rem;
  }

  .hero h1 {

    line-height: 1.05;
  }

  .services-grid {

    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {

  nav ul {

    gap: 1rem;

    flex-wrap: wrap;
  }

  .hero-buttons,
  .cta-buttons {

    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary,
  .cta-button {

    width: 100%;
  }

  .cta-box {

    padding:
      3rem
      1.5rem;
  }
}
