@import "reset.css";
@import "fonts.css";
@import "content.css";
@import "element.css";

:root {
  --font-heading: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;	
}

body { 
	font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: #E6E6E6;
  background: #0d1117;	
}

header {
	font-family: var(--font-heading);
	position: relative;
  overflow: hidden;
	background: linear-gradient(
    170deg,
    #0f1724 0%,
    #13243a 45%,
    #0c1a2b 100%
  );
	min-height:440px;	
	border-bottom: 1px solid rgba(120, 180, 255, 0.15);
	box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 40px rgba(0, 0, 0, 0.4);	
}

header::before {
	content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 20% 30%,
    rgba(0, 229, 255, 0.18) 0%,
    transparent 60%
  );
  pointer-events: none;
}

header::after {
	content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 80% 40%,
    rgba(124, 92, 255, 0.16) 0%,
    transparent 65%
  );
  pointer-events: none;
}

.hero {  
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 10px 20px 10px;
}

.hero-content {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.hero h1 {  
  font-size: 44px;
  font-weight: 700;

  color: #ffffff;
  letter-spacing: -0.03em;

  margin-bottom: 10px;

  text-shadow: 0 0 20px rgba(124, 92, 255, 0.25);
}

.subtitle {
  font-size: 18px;
  color: #b8c1d1; 
}

.tech {
 display: inline-block;
  font-size: 13px;
  color: #7aa2ff;
  text-decoration: none;

  padding: 4px 10px;
  border-radius: 999px;

  background: rgba(122, 162, 255, 0.08);
  border: 1px solid rgba(122, 162, 255, 0.2);

  transition: 0.2s ease;
	cursor: pointer;
}

.tech:hover {
  color: #ffffff;
  border-color: rgba(0, 229, 255, 0.5);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.2);
  transform: translateY(-1px);
}

.support-box {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

.kofi-button {
  display: inline-block;  

  padding: 10px 14px;
  border-radius: 10px;

  background: linear-gradient(90deg, #72a4f2, #00e5ff);
  color: #0b0f1a;

  font-weight: 500;
  text-decoration: none;

  transition: 0.2s ease;
}

.kofi-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(114, 164, 242, 0.4);
}

.privacy {
  font-size: 13px;
  color: #7c8599;
  margin-top: 10px;
	opacity: 0.8;
}

.features-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 16px auto;
    max-width: 600px;
}

.badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(99, 179, 237, 0.3);
    border-left: 5px solid #63b3ed;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.85rem;
    color: #c0caf5;
}

.tooltip-trigger {
    position: relative;
    cursor: help;
}

.tooltip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 25, 50, 0.95);
    border: 1px solid rgba(99, 179, 237, 0.3);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.8rem;
    color: #c0caf5;
    width: max-content;
    max-width: min(500px, 90vw);
    white-space: normal;
    text-align: center;
    transition: opacity 0.2s ease;
    pointer-events: none;
    z-index: 10;
}

@media (max-width: 600px) {
    .tooltip {
        position: fixed;
        bottom: auto;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 80vw;
        z-index: 1000;
    }
}

.tooltip-trigger:hover .tooltip {
    visibility: visible;
    opacity: 0.8;
}

main {
   background: radial-gradient(
      circle at 30% 20%,
      rgba(0, 229, 255, 0.06),
      transparent 40%
    ),
    radial-gradient(
      circle at 70% 60%,
      rgba(124, 92, 255, 0.05),
      transparent 45%
    ),
    #0b1220;
  min-height: calc(100vh - 440px - 200px);
  color: #e6e6e6;
	padding:20px;
}

main::before {
  content: "";
  position: fixed;
  inset: 0;

  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);

  background-size: 60px 60px;
  pointer-events: none;
  opacity: 0.3;
}



/* ********************* */

.footer {
  min-height:200px;
	padding: 40px 20px 20px;

  background:
    linear-gradient(
      180deg,
      rgba(11, 18, 32, 0.5),
      rgba(11, 18, 32, 1)
    );

  border-top: 1px solid rgba(124, 92, 255, 0.15);

  backdrop-filter: blur(12px);

  color: #b8c1d1;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;

  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  gap: 30px;
  flex-wrap: wrap;
}

.brand {
  font-size: 16px;
  font-weight: 600;

  color: #ffffff;

  text-shadow: 0 0 12px rgba(124, 92, 255, 0.2);
}

.desc {
  font-size: 13px;
  color: #7c8599;

  margin-top: 6px;
  max-width: 240px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13px;
  color: #7aa2ff;
  text-decoration: none;

  transition: 0.2s ease;
}

.footer-links a:hover {
  color: #00e5ff;

  text-shadow: 0 0 8px rgba(0, 229, 255, 0.3);
}

.kofi-footer {
  display: inline-block;

  padding: 8px 12px;

  border-radius: 10px;

  background: linear-gradient(90deg, #72a4f2, #00e5ff);

  color: #0b1220;

  font-weight: 600;

  text-decoration: none;

  transition: 0.2s ease;
}

.kofi-footer:hover {
  transform: translateY(-2px);

  box-shadow:
    0 0 18px rgba(114, 164, 242, 0.3),
    0 0 40px rgba(0, 229, 255, 0.15);
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 14px;

  border-top: 1px solid rgba(255, 255, 255, 0.05);

  text-align: center;

  font-size: 12px;
  color: #7c8599;
}