/*
FILE:
 /core/styles/global.css
*/

/* ================= ROOT ================= */

:root{

  --bg-primary:#f6fbff;
  --bg-secondary:#ffffff;

  --blue:#0057ff;
  --blue-light:#1bb8ff;

  --text:#0f172a;
  --text-light:#64748b;

  --glass:
    rgba(255,255,255,.72);

  --border:
    rgba(255,255,255,.82);

  --shadow:
    0 20px 50px rgba(0,87,255,.08);

  --shadow-soft:
    0 12px 34px rgba(0,0,0,.08);

  --radius-xl:30px;
  --radius-lg:24px;
  --radius-md:18px;
  --radius-sm:14px;

  --transition:.22s ease;

  --max-width:1220px;
}

/* ================= RESET ================= */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{

  font-family:
    Inter,
    sans-serif;

  color:var(--text);

  background:
    radial-gradient(
      circle at top left,
      #d7ecff,
      transparent 35%
    ),

    radial-gradient(
      circle at bottom right,
      #e7f5ff,
      transparent 35%
    ),

    linear-gradient(
      135deg,
      #eef7ff,
      #ffffff
    );

  min-height:100vh;

  overflow-x:hidden;
}

/* ================= TYPOGRAPHY ================= */

h1,h2,h3,h4,h5{
  font-family:
    Sora,
    Inter,
    sans-serif;
}

p{
  line-height:1.7;
}

a{
  text-decoration:none;
  color:inherit;
}

img{
  display:block;
  max-width:100%;
}

/* ================= LAYOUT ================= */

.container{

  width:100%;

  max-width:var(--max-width);

  margin:auto;

  padding:0 22px;
}

.page{

  width:100%;

  max-width:540px;

  margin:auto;

  padding:18px;
}

/* ================= GLASS ================= */

.glass{

  background:var(--glass);

  backdrop-filter:blur(16px);

  border:1px solid var(--border);

  box-shadow:var(--shadow);
}

/* ================= CARD ================= */

.card{

  background:
    rgba(255,255,255,.88);

  backdrop-filter:blur(12px);

  border-radius:26px;

  padding:18px;

  box-shadow:var(--shadow-soft);

  transition:var(--transition);
}

.card:hover{
  transform:translateY(-2px);
}

/* ================= BUTTONS ================= */

.btn{

  border:none;

  outline:none;

  cursor:pointer;

  font-weight:800;

  border-radius:16px;

  padding:13px 22px;

  font-size:15px;

  transition:var(--transition);

  display:inline-flex;

  align-items:center;

  justify-content:center;

  gap:10px;
}

.btn:hover{
  transform:translateY(-2px);
}

.btn-primary{

  color:#fff;

  background:
    linear-gradient(
      90deg,
      var(--blue),
      var(--blue-light)
    );

  box-shadow:
    0 14px 30px
    rgba(0,87,255,.22);
}

.btn-outline{

  color:var(--blue);

  background:#fff;

  border:
    1px solid #d8e7ff;
}

.btn-full{
  width:100%;
}

/* ================= INPUT ================= */

.input-group{

  display:flex;

  align-items:center;

  gap:10px;

  background:#eef3f8;

  border-radius:14px;

  padding:12px 14px;

  margin:12px 0;

  border:
    1px solid rgba(0,0,0,.04);
}

.input-group input{

  border:none;

  outline:none;

  background:transparent;

  width:100%;

  font-size:14px;

  color:var(--text);
}

.input-group input::placeholder{
  color:#94a3b8;
}

/* ================= BADGE ================= */

.badge{

  display:inline-flex;

  align-items:center;

  gap:8px;

  padding:10px 16px;

  border-radius:999px;

  color:var(--blue);

  font-size:13px;

  font-weight:800;
}

/* ================= ICON BOX ================= */

.icon{

  width:42px;

  height:42px;

  display:flex;

  align-items:center;

  justify-content:center;

  border-radius:14px;

  background:#f1f6ff;

  font-size:22px;

  flex-shrink:0;
}

/* ================= TEXT ================= */

.text-light{
  color:var(--text-light);
}

.text-center{
  text-align:center;
}

.bold{
  font-weight:800;
}

/* ================= FLEX ================= */

.flex{
  display:flex;
}

.flex-center{
  display:flex;
  align-items:center;
  justify-content:center;
}

.flex-between{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.gap-10{
  gap:10px;
}

.gap-12{
  gap:12px;
}

.gap-16{
  gap:16px;
}

/* ================= GRID ================= */

.grid-2{

  display:grid;

  grid-template-columns:
    repeat(2,1fr);

  gap:14px;
}

.grid-3{

  display:grid;

  grid-template-columns:
    repeat(3,1fr);

  gap:14px;
}

.grid-4{

  display:grid;

  grid-template-columns:
    repeat(4,1fr);

  gap:16px;
}

/* ================= SECTION ================= */

.section{
  padding:56px 0;
}

.section-title{

  font-size:28px;

  font-weight:800;

  margin-bottom:16px;
}

/* ================= ANIMATIONS ================= */

.fade-in{
  animation:fadeIn .35s ease;
}

@keyframes fadeIn{

  from{
    opacity:0;
    transform:translateY(8px);
  }

  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* ================= ORBS ================= */

.orb{

  position:fixed;

  border-radius:50%;

  filter:blur(90px);

  opacity:.22;

  pointer-events:none;

  z-index:-1;
}

.orb-blue{
  background:#0057ff;
}

.orb-cyan{
  background:#00b7ff;
}

/* ================= UTILITIES ================= */

.hidden{
  display:none !important;
}

.w-full{
  width:100%;
}

.mt-10{
  margin-top:10px;
}

.mt-16{
  margin-top:16px;
}

.mt-24{
  margin-top:24px;
}

.mb-10{
  margin-bottom:10px;
}

.mb-16{
  margin-bottom:16px;
}

.rounded{
  border-radius:20px;
}

/* ================= MOBILE ================= */

@media(max-width:1080px){

  .grid-4{
    grid-template-columns:
      repeat(2,1fr);
  }

  .grid-3{
    grid-template-columns:
      repeat(2,1fr);
  }
}

@media(max-width:700px){

  .container{
    padding:0 16px;
  }

  .page{
    padding:14px;
  }

  .grid-2,
  .grid-3,
  .grid-4{
    grid-template-columns:1fr;
  }

  .section-title{
    font-size:24px;
  }

  .btn{
    width:100%;
  }
}