:root {
  --primary: #6366f1;
  --secondary: #a855f7;
  --dark: #0f172a;
  --light: #f8fafc;
  --accent: #22d3ee;
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
  font-family: "Inter", sans-serif;
  background-color: var(--dark);
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
.logo__text {
  font-family: "Outfit", sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Aurora Background Effect */
.aurora-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(99, 102, 241, 0.15) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(168, 85, 247, 0.15) 0%,
      transparent 40%
    );
  filter: blur(80px);
}

/* Header Styles */
.header {
  padding: 20px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
}

.logo__text {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
}

.nav__list {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav__link {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.nav__link:hover {
  color: var(--accent);
}

.nav__link--cta {
  background: var(--primary);
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
}

.nav__link--cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
  color: white;
}

/* Footer Styles */
.footer {
  padding: 80px 0 30px;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid var(--glass-border);
  margin-top: 100px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer__title {
  margin-bottom: 25px;
  font-size: 1.1rem;
  color: var(--accent);
}

.footer__links,
.footer__contact-info {
  list-style: none;
}

.footer__links li {
  margin-bottom: 12px;
}

.footer__links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
  transition: 0.3s;
}

.footer__links a:hover {
  color: #fff;
  padding-left: 5px;
}

.footer__contact-info li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.6);
}

.footer__bottom {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--glass-border);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* Burger Menu */
.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  width: 30px;
  height: 2px;
  background: white;
  transition: 0.3s;
}

@media (max-width: 992px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--dark);
    padding: 100px 40px;
    transition: 0.5s;
  }
  .nav.active {
    right: 0;
  }
  .nav__list {
    flex-direction: column;
    align-items: flex-start;
  }
  .burger {
    display: flex;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
}
/* Hero & Bento Grid */
.hero {
  padding: 160px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr;
  grid-template-rows: auto auto;
  gap: 24px;
}

.bento-item {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  padding: 40px;
  backdrop-filter: blur(10px);
  transition:
    transform 0.4s ease,
    border-color 0.4s ease;
}

.bento-item:hover {
  border-color: rgba(168, 85, 247, 0.4);
  transform: translateY(-5px);
}

.hero__main {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid var(--primary);
  color: var(--accent);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  width: fit-content;
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero__title span {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  max-width: 600px;
}

/* Buttons */
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  padding: 16px 32px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  text-align: center;
}

.btn--primary {
  background: var(--light);
  color: var(--dark);
}

.btn--primary:hover {
  background: var(--accent);
  transform: scale(1.05);
}

.btn--secondary {
  border: 1px solid var(--glass-border);
  color: var(--light);
}

.btn--secondary:hover {
  background: var(--glass);
}

/* Side Cards */
.stat-card__icon {
  color: var(--accent);
  margin-bottom: 20px;
  width: 40px;
  height: 40px;
}

.stat-card__value {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: "Outfit";
  margin-bottom: 8px;
}

.info-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.info-card__status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  margin-bottom: 15px;
  color: #4ade80;
}

.dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 10px #4ade80;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    opacity: 1;
  }
}

/* Animation Classes */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsiveness */
@media (max-width: 992px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__main {
    grid-row: auto;
  }
}

/* Tools Section Styles */
.tools {
  padding: 100px 0;
}

.section-header {
  margin-bottom: 60px;
  text-align: center;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
  color: #fff;
}

.section-desc {
  color: rgba(255, 255, 255, 0.6);
  max-width: 600px;
  margin: 0 auto;
}

.tools__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(280px, auto);
  gap: 24px;
}

.tools__item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.tools__item--wide {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 30px;
}

.tools__item--tall {
  grid-row: span 2;
}

.tools__icon-box {
  width: 50px;
  height: 50px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}

.tools__item h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #fff;
}

.tools__item p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.tools__link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  margin-top: auto;
  transition: 0.3s;
}

.tools__link:hover {
  gap: 12px;
  color: var(--accent);
}

.tools__img {
  width: 200px;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  opacity: 0.5;
}

.tools__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.tag {
  padding: 5px 12px;
  background: var(--glass-border);
  border-radius: 8px;
  font-size: 0.8rem;
  color: var(--accent);
}

/* Responsiveness for Tools */
@media (max-width: 992px) {
  .tools__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .tools__grid {
    grid-template-columns: 1fr;
  }
  .tools__item--wide {
    grid-column: span 1;
    flex-direction: column;
    align-items: flex-start;
  }
  .tools__img {
    width: 100%;
    height: 150px;
  }
}

/* Lifehacks Section */
.lifehacks {
  padding: 100px 0;
}

.lifehacks__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.lifehacks__card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
}

.lifehacks__card:nth-child(1) {
  grid-column: span 2;
}
.lifehacks__card:nth-child(2) {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
}
.lifehacks__card:nth-child(3) {
  grid-column: span 1;
}
.lifehacks__card:nth-child(4) {
  grid-column: span 3;
}

.lifehacks__number {
  font-family: "Outfit";
  font-size: 3rem;
  font-weight: 900;
  opacity: 0.1;
  line-height: 1;
  margin-bottom: 10px;
}

.lifehacks__card h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.bento-item--accent h3,
.bento-item--accent p {
  color: #fff;
}

.lifehacks__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  color: var(--accent);
}

.lifehacks__time {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lifehacks__labels {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.label {
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Adaptive Lifehacks */
@media (max-width: 992px) {
  .lifehacks__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .lifehacks__card:nth-child(1),
  .lifehacks__card:nth-child(2),
  .lifehacks__card:nth-child(3),
  .lifehacks__card:nth-child(4) {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .lifehacks__grid {
    grid-template-columns: 1fr;
  }
  .lifehacks__card:nth-child(n) {
    grid-column: span 1;
  }
}

/* Education Section */
.education {
  padding: 100px 0;
  position: relative;
}

.edu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.edu-item {
  position: relative;
  min-height: 250px;
  display: flex;
  flex-direction: column;
}

.edu-step {
  font-family: "Outfit";
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.edu-item h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.edu-item p {
  color: rgba(255, 255, 255, 0.6);
  max-width: 80%;
}

.edu-icon {
  position: absolute;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  opacity: 0.1;
  color: var(--primary);
  transition: 0.4s ease;
}

.edu-item:hover .edu-icon {
  opacity: 0.4;
  transform: scale(1.1) rotate(-10deg);
}

.edu-item--highlight {
  background: rgba(99, 102, 241, 0.05);
  border: 1px dashed var(--primary);
}

.edu-item--highlight .btn {
  margin-top: 25px;
  align-self: flex-start;
}

/* Adaptive Education */
@media (max-width: 768px) {
  .edu-grid {
    grid-template-columns: 1fr;
  }
  .edu-item p {
    max-width: 100%;
  }
}

/* Community Section */
.community {
  padding: 100px 0;
}

.community-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
}

.community__main {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: radial-gradient(
    circle at top right,
    rgba(99, 102, 241, 0.1),
    transparent
  );
}

.map-icon {
  width: 80px;
  height: 80px;
  color: var(--primary);
  margin-bottom: 30px;
  filter: drop-shadow(0 0 15px var(--primary));
}

.community__stats {
  display: flex;
  gap: 40px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--glass-border);
}

.stat strong {
  display: block;
  font-size: 2rem;
  font-family: "Outfit";
  color: var(--accent);
}

.stat span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.community__support {
  background: rgba(168, 85, 247, 0.05);
}

.support-icon {
  color: var(--secondary);
  margin-bottom: 15px;
}

.quiz-content h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.link-arrow {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  margin-top: 15px;
  transition: 0.3s;
}

.link-arrow:hover {
  gap: 10px;
}

/* Adaptive Community */
@media (max-width: 992px) {
  .community-grid {
    grid-template-columns: 1fr;
  }
  .community__main {
    grid-row: auto;
  }
}

/* Contact Section */
.contact {
  padding: 100px 0;
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  align-items: start;
}

.contact__meta {
  margin-top: 40px;
  display: grid;
  gap: 20px;
}
.contact__meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  font-weight: 500;
}

/* Form Styles */
.form {
  display: grid;
  gap: 20px;
}
.form__group {
  position: relative;
}
.form__input {
  width: 100%;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  transition: 0.3s;
}
.form__input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.07);
}

/* Custom Checkboxes (Captcha & Policy) */
.captcha-container,
.policy-container {
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  position: relative;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.form__captcha {
  background: rgba(255, 255, 255, 0.05);
  padding: 15px 20px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--glass-border);
}

.captcha-checkmark,
.policy-checkmark {
  width: 24px;
  height: 24px;
  border: 2px solid var(--glass-border);
  border-radius: 6px;
  flex-shrink: 0;
  position: relative;
  transition: 0.3s;
}

input[type="checkbox"]:checked + .captcha-checkmark,
input[type="checkbox"]:checked + .policy-checkmark {
  background: var(--primary);
  border-color: var(--primary);
}

input[type="checkbox"]:checked + .captcha-checkmark::after,
input[type="checkbox"]:checked + .policy-checkmark::after {
  content: "✓";
  position: absolute;
  color: white;
  font-size: 16px;
  left: 4px;
  top: -1px;
}

.form input[type="checkbox"] {
  display: none;
}

.form__submit {
  width: 100%;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
}

.form__message {
  padding: 15px;
  border-radius: 12px;
  display: none;
  text-align: center;
  font-weight: 600;
}
.form__message--success {
  display: block;
  background: rgba(74, 222, 128, 0.1);
  color: #4ade80;
  border: 1px solid #4ade80;
}
.form__message--error {
  display: block;
  background: rgba(248, 113, 113, 0.1);
  color: #f87171;
  border: 1px solid #f87171;
}

@media (max-width: 850px) {
  .contact__grid {
    grid-template-columns: 1fr;
  }
}

.cookie-popup {
  position: fixed;
  bottom: -100%;
  left: 20px;
  right: 20px;
  max-width: 400px;
  background: var(--dark);
  border: 1px solid var(--glass-border);
  padding: 20px;
  border-radius: 20px;
  z-index: 10000;
  transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(20px);
}
.cookie-popup.visible {
  bottom: 20px;
}
.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-content p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}
.cookie-content a {
  color: var(--accent);
}

.pages {
  padding: 160px 0 100px;
}
.pages h1 {
  font-size: 3rem;
  margin-bottom: 40px;
  color: var(--accent);
}
.pages h2 {
  font-size: 1.8rem;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #fff;
}
.pages p {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
}
.pages ul {
  margin-bottom: 30px;
  padding-left: 20px;
}
.pages li {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.7);
}
.pages strong {
  color: #fff;
}
.pages a {
  color: var(--primary);
  text-decoration: none;
}
