:root {
  --bg-color: #ffffff;
  --text-primary: #1d1d1f;
  --text-secondary: #86868b;
  --accent: #0071e3;
  --border-color: #d2d2d7;
  --glass-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);
  --font-family:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
  color: var(--text-primary);
  background: var(--bg-color);
}

body {
  overflow-x: hidden;
}

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

.container-small {
  max-width: 800px;
}

.text-center {
  text-align: center;
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
  letter-spacing: -0.022em;
}

/* Navbar */
.navbar {
  height: 64px;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 0.5px solid var(--border-color);
}

.nav-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 21px;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 400;
  transition: opacity 0.3s;
}

.nav-links a:hover {
  opacity: 0.7;
}

.btn-primary {
  background: var(--text-primary);
  color: white !important;
  padding: 8px 16px;
  border-radius: 20px;
}

/* Language Picker */
.lang-picker {
  position: relative;
  display: inline-block;
}

#lang-btn {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

#lang-btn:hover {
  background: #f5f5f7;
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 0.5px solid var(--border-color);
  border-radius: 8px;
  margin-top: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  min-width: 100px;
}

.lang-dropdown.show {
  display: block;
}

.lang-dropdown button {
  width: 100%;
  padding: 10px 16px;
  border: none;
  background: none;
  text-align: left;
  font-size: 13px;
  color: var(--text-primary);
  cursor: pointer;
  transition: background 0.3s;
}

.lang-dropdown button:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* Hero */
.hero {
  padding-top: 160px;
  padding-bottom: 80px;
  text-align: center;
}

.hero-title {
  font-size: 80px;
  line-height: 1.05;
  margin-bottom: 24px;
}

.text-zen {
  color: var(--text-secondary);
}

.hero-subtitle {
  font-size: 24px;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.4;
}

.btn-hero {
  display: inline-block;
  background: var(--text-primary);
  color: white;
  text-decoration: none;
  padding: 18px 36px;
  border-radius: 40px;
  font-size: 18px;
  font-weight: 500;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-hero:hover {
  transform: scale(1.05);
}

/* Demo Section */
.demo-section {
  padding-bottom: 100px;
}

.profile-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.tab-btn {
  border: none;
  background: #f5f5f7;
  padding: 10px 24px;
  border-radius: 20px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
}

.tab-btn.active {
  background: var(--text-primary);
  color: white;
}

.macbook-frame {
  background: #222;
  border-radius: 30px;
  padding: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16 / 10;
}

.screen-content {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}

.wallpaper {
  position: absolute;
  inset: 0;
  background: url('assets/images/wallpaper.png') no-repeat center center;
  background-size: cover;
  transition: filter 1s ease, background 1s ease;
}

.wallpaper.focus {
  filter: grayscale(1) brightness(0.4);
}

.wallpaper.personal {
  filter: hue-rotate(45deg) saturate(1.2);
}

.dock-wrapper {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
}

.dock {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 0.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.dock-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  cursor: default;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dock-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
  /* Removes white background from the AI generated images */
  mix-blend-mode: multiply; 
}

.dock-icon svg {
  width: 100%;
  height: 100%;
  padding: 0; /* SVGs already have built-in padding or reach edges */
  border-radius: 10px;
}

.dock-icon.folder {
  background: rgba(255, 255, 255, 0.2);
  border: 1px dashed rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
}

.dock-separator {
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 4px;
}

/* Sections */
.section-padding {
  padding: 120px 0;
}

.section-title {
  font-size: 48px;
  margin-bottom: 24px;
}

.section-text {
  font-size: 21px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 40px;
  margin-top: 60px;
}

.feature-card h3 {
  font-size: 21px;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Steps */
.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 80px;
}

.step-num {
  display: block;
  font-size: 64px;
  font-weight: 700;
  color: #f5f5f7;
  margin-bottom: 10px;
}

/* Pricing Card */
.pricing-card {
  background: #f5f5f7;
  padding: 60px;
  border-radius: 30px;
}

.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 20px;
}

.price {
  font-size: 32px;
  font-weight: 600;
  margin: 20px 0;
}

.pricing-desc {
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.btn-buy {
  display: inline-block;
  background: var(--accent);
  color: white;
  text-decoration: none;
  padding: 14px 40px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 500;
  transition: background 0.3s;
}

.btn-buy:hover {
  background: #0077ed;
}

.subtext {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 20px;
}

/* FAQ */
.faq-list {
  margin-top: 60px;
  text-align: left;
}

.faq-item {
  margin-bottom: 48px;
}

.faq-item h4 {
  font-size: 21px;
  margin-bottom: 12px;
}

.faq-item p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Footer */
.footer {
  padding: 80px 0;
  border-top: 0.5px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 14px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
}

.footer-right a {
  color: var(--text-secondary);
  text-decoration: none;
  margin-left: 24px;
}

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

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  .hero-title {
    font-size: 48px;
  }
  .section-title {
    font-size: 32px;
  }
  .features-grid,
  .steps-container {
    grid-template-columns: 1fr;
  }
  .hero-subtitle {
    font-size: 18px;
  }
  .hero {
    padding-top: 120px;
  }
  .footer-content {
    flex-direction: column;
    gap: 40px;
  }
  .footer-right a {
    margin-left: 0;
    margin-right: 24px;
  }
}
