/* ====================================
   BASE STYLES
   ==================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #0f0f14;
  color: #eaeaf0;
  line-height: 1.6;
}

.italic {
  font-style: italic;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* ====================================
   NAVIGATION
   ==================================== */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #0f0f14;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
}

.nav .logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: #434BE7;
}

.nav-links {
  display: flex;
  flex-direction: column;
  margin-top: 0.5rem;
}

.nav-links a {
  margin-bottom: 0.8rem;
  color: #eaeaf0;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #434BE7;
}

.nav .nav-cta {
  background-color: #434BE7;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  color: #fff;
  font-weight: 600;
  text-align: center;
}

.nav .nav-cta:hover {
  background-color: #373be5;
}

/* ====================================
   HERO SECTIONS
   ==================================== */
.hero {
  padding: 6rem 0 3rem 0;
  text-align: center;
  position: relative;
}

.hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #434BE7;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  color: #eaeaf0;
}

/* ====================================
   SECTIONS
   ==================================== */
.section {
  padding: 4rem 0;
}

.section.dark {
  background-color: #141622;
}

.section h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #434BE7;
  margin-bottom: 1rem;
}

.section p {
  font-size: 1rem;
  color: #eaeaf0;
  margin-bottom: 1.5rem;
}

/* ====================================
   CARDS / GRID
   ==================================== */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background-color: #1a1c2a;
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid #434BE7;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: #434BE7;
}

.card p {
  font-size: 1rem;
  line-height: 1.5;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* ====================================
   BUTTONS
   ==================================== */
.btn-primary {
  background-color: #434BE7;
  color: #fff;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  display: inline-block;
  transition: background-color 0.3s, transform 0.2s;
}

.btn-primary:hover {
  background-color: #373be5;
  transform: translateY(-2px);
}

/* ====================================
   CONTACT FORM
   ==================================== */
.contact-form label {
  display: block;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  background: #141622;
  color: #eaeaf0;
  font-size: 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #a1a3b3;
}

.contact-form button {
  margin-top: 1.5rem;
  width: 100%;
}

/* ====================================
   CTA SECTIONS
   ==================================== */
.cta {
  text-align: center;
  padding: 4rem 0;
  background-color: #141622;
}

.cta h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #434BE7;
}

.cta a {
  margin-top: 1rem;
}

/* ====================================
   FOOTER
   ==================================== */
.footer {
  background-color: #0f0f14;
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: #a1a3b3;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ====================================
   DECORATIVE SHAPES (POLISH)
   ==================================== */
.bg-shape {
  position: absolute;
  width: 150px;
  height: 150px;
  background-color: rgba(67, 75, 231, 0.15);
  border-radius: 50%;
  z-index: 0;
}

.hero .bg-shape {
  top: -30px;
  left: -30px;
}

/* ====================================
   MOBILE-FIRST RESPONSIVE
   ==================================== */
@media (min-width: 768px) {
  .nav-links {
    flex-direction: row;
    margin-top: 0;
  }

  .nav-links a {
    margin-left: 2rem;
    margin-bottom: 0;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero h1 {
    font-size: 3rem;
  }

  .section h2 {
    font-size: 2rem;
  }
}

@media (min-width: 1200px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .section h2 {
    font-size: 2.2rem;
  }

  .container {
    padding: 4rem 2rem;
  }
}

/* ====================================
   DECORATIVE BACKGROUNDS
   ==================================== */
.section::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background-color: rgba(67, 75, 231, 0.05);
  border-radius: 50%;
  top: -50px;
  right: -50px;
  z-index: 0;
  transform: rotate(25deg);
}

.hero::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  background-color: rgba(67, 75, 231, 0.1);
  border-radius: 50%;
  bottom: -40px;
  left: -40px;
  z-index: 0;
}

/* Slight skewed diagonal section backgrounds */
.section.diagonal::before {
  content: "";
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background: rgba(67, 75, 231, 0.05);
  transform: skewY(-5deg);
  z-index: -1;
}

/* ====================================
   CARD ANIMATIONS
   ==================================== */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-left-color 0.3s ease;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
  border-left-color: #373be5;
}

/* ====================================
   BUTTON ANIMATIONS
   ==================================== */
.btn-primary {
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 15px rgba(67,75,231,0.3);
}

/* ====================================
   LINK HOVER UNDERLINE EFFECT
   ==================================== */
a:hover {
  position: relative;
  color: #434BE7;
}

a::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: #434BE7;
  transition: width 0.3s;
}

a:hover::after {
  width: 100%;
}

/* ====================================
   SMOOTH SCROLL FOR ANCHORS
   ==================================== */
html {
  scroll-behavior: smooth;
}

/* ====================================
   IMAGE / LOGO POLISH
   ==================================== */
img.logo {
  max-height: 40px;
  transition: transform 0.3s ease;
}

img.logo:hover {
  transform: scale(1.05);
}

/* ====================================
   MICRO ANIMATIONS
   ==================================== */
section {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.section h2,
.section p,
.card,
.hero h1,
.hero p {
  opacity: 0;
  transform: translateY(15px);
  animation: fadeInUp 0.6s forwards;
}

.section h2 {
  animation-delay: 0.1s;
}
.section p {
  animation-delay: 0.2s;
}
.card {
  animation-delay: 0.3s;
}
.hero h1 {
  animation-delay: 0.1s;
}
.hero p {
  animation-delay: 0.2s;
}

/* Keyframes */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ====================================
   FAVICON HINT (add link in <head>)
   ==================================== */
/* <link rel="icon" href="/assets/images/favicon.ico" type="image/x-icon"> */

/* ====================================
   RESPONSIVE TWEAKS FOR POLISH
   ==================================== */
@media (min-width: 768px) {
  .hero::after,
  .section::before {
    width: 300px;
    height: 300px;
  }
}

@media (min-width: 1200px) {
  .cards {
    gap: 2rem;
  }
}
