/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

section {
  width: 100vw;
  min-height: auto;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

html, body {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
  scroll-behavior: smooth;
  background: black;
  color: white;

  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
}

/* Navbar */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 1rem;
}

.navbar .logo {
  font-weight: bold;
  font-size: 1.2rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a,
.quote-btn {
  text-decoration: none;
  color: white;
  font-size: 0.95rem;
}

.quote-btn {
  padding: 0.5rem 1rem;
  border: 1px solid white;
  border-radius: 6px;
  font-weight: 500;
}

.github-action {
  background: red;
  z-index: 999;
  opacity: 0.8;
  transition: 0.3s;
}

.github-action:hover {
  background: green;
}

/* Hero Section */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4rem 2rem;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.connect-btn {
  color: white;
  font-weight: 500;
  text-decoration: none;
  font-size: 1rem;
  position: relative;
}

.connect-btn::after {
  content: "↗";
  margin-left: 0.3rem;
}

.hero-image img {
  width: 100%;
  margin-top: 3rem;
  filter: drop-shadow(0 0 20px rgba(255,255,255,0.1));
}

/* Services */

.services {
  background-color: #000;
  color: #fff;
  padding: 4rem 2rem;
}

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

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
}

.section-header p {
  max-width: 500px;
  color: #aaa;
  font-size: 1rem;
}

.cards {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.card {
  background: #111;
  padding: 1rem;
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.card p {
  color: #aaa;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.learn-more {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  display: inline-block;
}

.learn-more::after {
  content: " →";
  margin-left: 0.3rem;
}

/* Frame */

.frame {
  width: 100vw;

  display: flex;
  justify-content: center;
}

.frame-wrapper {
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.frame-wrapper img {
  width: 1120px;
  height: 600px;
  max-width: none;
}

/* Features */

.features {
  background: #000;
  color: #fff;
  padding: 4rem 2rem;
}

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

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.left-content h2 {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.2;
}

.left-content img {
  width: 100%;
  border-radius: 8px;
}

.right-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.feature-item p {
  color: #aaa;
  font-size: 0.95rem;
}

.icon {
  font-size: 1.5rem;
  margin-top: 0.2rem;
}

hr {
  border: 0;
  border-top: 1px solid #333;
  margin: 1.2rem 0;
}

.quote-link {
  margin-top: 2rem;
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
}

.quote-link::after {
  content: " →";
  margin-left: 0.3rem;
}

/* CTA */

.cta-section {
  display: flex;
  justify-content: center;
}

.cta-container {
  position: relative;
  display: flex;
  max-width: 1200px;
  width: 100%;
  height: auto;
  border-radius: 16px;
  overflow: hidden;
  align-items: center;
  padding: 60px;
  z-index: 0;
}

.cta-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('./assets/img/video.png');
  background-size: cover;
  background-position: center;
  filter: brightness(30%);
  z-index: 0;
}

.cta-text {
  flex: 1;
  color: white;
  position: relative;
  z-index: 1;
}

.cta-text h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.cta-text p {
  margin-bottom: 30px;
  color: #ccc;
}

.cta-btn {
  text-decoration: none;
  color: #fff;
  border-bottom: 1px solid #fff;
  font-weight: bold;
  transition: opacity 0.3s ease;
}

.cta-btn:hover {
  opacity: 0.7;
}

/* --- FOOTER --- */

.footer {
  background: #000;
  padding: 60px 20px 40px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
  justify-content: space-between;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand h3 {
  font-weight: 600;
  margin-bottom: 10px;
}

.footer-brand p {
  color: #aaa;
}

.footer-columns {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-columns h4 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.footer-columns ul {
  list-style: none;
  padding: 0;
}

.footer-columns a {
  color: #aaa;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}

.footer-columns a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #333;
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  color: #666;
  font-size: 0.9rem;
}

.footer-links a {
  margin-left: 20px;
  color: #666;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}