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

body {
  background: #111216;
  color: #f4f4f4;
  font-family: "Inter", system-ui, sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ANIMATED BACKGROUND */
.bg-ambient {
  position: fixed;
  inset: 0;
  background: radial-gradient(600px at 50% 50%, rgba(123,167,255,0.22), transparent);
  animation: pulse 6s ease-in-out infinite alternate;
  z-index: -2;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.3); opacity: 1; }
}

/* HERO SECTION */
.hero {
  height: 95vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo {
  width: 180px;
  height: auto;
  animation: floatUp 2s ease forwards, gentleFloat 6s ease-in-out infinite;
  opacity: 0;
}

@keyframes floatUp {
  0% { opacity: 0; transform: translateY(25px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes gentleFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

/* SECTIONS */
.section {
  padding: 90px 20px;
}

.section-inner {
  max-width: 800px;
  margin: 0 auto;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 14px;
  color: #7BA7FF;
}

.section p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* PROJECT GRID */
.projects-grid {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}

.project-card {
  display: block;
  background: #17191f;
  padding: 18px 18px 22px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  text-decoration: none;
  color: inherit;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
  border-color: rgba(123,167,255,0.7);
}

/* THUMBNAIL */
.project-thumb {
  overflow: hidden;
  border-radius: 14px;
  margin-bottom: 16px;
}

.project-thumb img {
  display: block;
  width: 85%;         /* smaller thumbnail */
  margin: 0 auto;
  border-radius: 12px;
  height: auto;
  transition: transform .4s ease;
}

.project-card:hover .project-thumb img {
  transform: scale(1.04);
}

/* PROJECT TEXT */
.project-content h3 {
  margin-bottom: 8px;
  font-size: 1.4rem;
  color: #7BA7FF;
}

.project-content p {
  opacity: .85;
  margin-bottom: 10px;
  line-height: 1.55;
}

.project-cta {
  display: inline-block;
  margin-top: 4px;
  font-weight: 600;
  color: #7BA7FF;
}

/* PRIVACY POLICY PAGE */
.policy-hero {
  padding-top: 140px;
  padding-bottom: 40px;
  text-align: center;
}

.policy-hero h1 {
  font-size: 2.6rem;
  color: #7BA7FF;
  font-weight: 700;
}

.policy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px 100px;
}

.policy-content h2 {
  margin-top: 40px;
  margin-bottom: 12px;
  font-size: 1.6rem;
  color: #7BA7FF;
}

.policy-content p {
  opacity: 0.85;
  margin-bottom: 14px;
  line-height: 1.6;
}

.policy-content a {
  color: #7BA7FF;
  text-decoration: none;
  font-weight: 500;
}

.policy-content a:hover {
  opacity: 0.8;
}

/* FOOTER */
.footer {
  padding: 50px 20px;
  text-align: center;
  opacity: 0.7;
}

.footer-link {
  color: #7BA7FF;
  text-decoration: none;
  font-weight: 500;
}

.footer-link:hover {
  opacity: 0.8;
}

/* SCROLL REVEAL */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s ease, transform .9s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
