@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
  --primary: #007AFF;
  --primary-hover: #0062CC;
  --bg: #F5F5F7;
  --text: #1D1D1F;
  --secondary-text: #86868B;
  --card-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.3);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --text: #F5F5F7;
    --secondary-text: #86868B;
    --card-bg: rgba(28, 28, 30, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }
}

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

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.glass {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navbar */
nav {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.3s;
}

.nav-scrolled {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text);
  text-decoration: none;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--secondary-text);
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary);
}

/* Hero */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--text) 30%, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.5rem;
  color: var(--secondary-text);
  max-width: 700px;
  margin: 0 auto 48px;
}

.cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.btn {
  padding: 18px 36px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 10px 20px rgba(0, 122, 255, 0.3);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(0, 122, 255, 0.4);
}

.btn-secondary {
  background: var(--card-bg);
  color: var(--text);
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  background: var(--bg);
  transform: translateY(-2px);
}

/* Floating Image */
.hero-image-wrap {
  margin-top: 80px;
  perspective: 1000px;
}

.hero-image {
  width: 100%;
  max-width: 900px;
  border-radius: 32px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
  transform: rotateX(5deg);
  transition: transform 0.5s;
}

.hero-image:hover {
  transform: rotateX(0deg) scale(1.02);
}

/* About Section */
.about {
  padding: 100px 0;
}

.section-tag {
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 16px;
  text-align: center;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about h2 {
  font-size: 3rem;
  margin-bottom: 24px;
}

.about p {
  font-size: 1.2rem;
  color: var(--secondary-text);
  margin-bottom: 24px;
}

/* Features */
.features {
  padding: 100px 0;
  background: linear-gradient(to bottom, var(--bg), var(--card-bg));
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.feature-card {
  padding: 48px;
  text-align: left;
}

.feature-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 24px;
  display: block;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

/* Footer */
footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--glass-border);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: var(--secondary-text);
  margin-top: 16px;
  max-width: 300px;
}

.footer-links h4 {
  margin-bottom: 24px;
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  text-decoration: none;
  color: var(--secondary-text);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--secondary-text);
  font-size: 0.9rem;
}

/* Animations */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-up {
  animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .nav-links {
    display: none;
  }
  .hero h1 {
    font-size: 3.5rem;
  }
}
