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

:root {
  --primary: #334155; /* Slate 700 */
  --accent: #475569; /* Slate 600 */
  --bg: #fdfbf7; /* App Paper Background */
  --bg-darker: #f5f2eb;
  --text: #1e293b; /* Slate 800 */
  --text-muted: #64748b; /* Slate 500 */
  --border: #e2e8f0;
  --card-bg: #ffffff;
  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  letter-spacing: -1px;
}

.handwritten {
  font-family: 'Caveat', cursive;
  font-weight: 600;
}

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

/* Header */
header {
  height: 90px;
  display: flex;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Caveat', cursive;
  font-size: 2.2rem;
  color: var(--primary);
  text-decoration: none;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(51, 65, 85, 0.2);
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  margin-left: 2.5rem;
  transition: var(--transition);
}

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

/* Hero Section */
.hero {
  padding: 12rem 0 6rem;
  text-align: center;
  background-image: radial-gradient(circle at 50% 30%, #fff 0%, transparent 100%);
}

.hero h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
  font-weight: 400;
}

.btn {
  padding: 1rem 2.5rem;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 30px rgba(51, 65, 85, 0.15);
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 40px rgba(51, 65, 85, 0.2);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--border);
  margin-left: 1rem;
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: rgba(51, 65, 85, 0.02);
}

/* App Showcase */
.showcase {
  position: relative;
  margin-top: 5rem;
}

.mockup-container {
  max-width: 950px;
  margin: 0 auto;
  background: #fff;
  padding: 12px;
  border-radius: 24px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.08);
  border: 1px solid var(--border);
}

.mockup-container img {
  width: 100%;
  border-radius: 16px;
  display: block;
}

/* Section Styling */
section {
  padding: 8rem 0;
}

.section-tag {
  display: inline-block;
  background: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.2rem;
  margin-bottom: 4rem;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: #fff;
  padding: 3.5rem 2.5rem;
  border-radius: 24px;
  border: 1px solid var(--border);
  transition: var(--transition);
  text-align: left;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.04);
  border-color: var(--primary);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--bg);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Download Cards */
.download-section {
  background-color: #fff;
  border-top: 1px solid var(--border);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.download-card {
  padding: 3rem 2rem;
  border-radius: 28px;
  background: var(--bg);
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.download-card:hover {
  background: #fff;
  border-color: var(--primary);
  transform: scale(1.03);
  box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.download-card.coming-soon {
  opacity: 0.7;
  cursor: not-allowed;
}

.download-card.coming-soon:hover {
  transform: none;
  box-shadow: none;
  background: var(--bg);
  border-color: transparent;
}

.download-card.coming-soon .dl-btn {
  background: var(--text-muted);
}

.os-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: block;
}

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

.download-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.dl-btn {
  padding: 0.8rem 2rem;
  background: var(--primary);
  color: #fff;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Installation Guide */
.installation-guide {
  max-width: 700px;
  margin: 4rem auto 0;
  background: #fffdf5;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2rem;
  text-align: left;
  box-shadow: 0 10px 25px rgba(0,0,0,0.02);
}

.installation-guide h4 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.installation-guide p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.guide-step {
  background: #fff;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text);
}

.guide-step em {
  font-style: normal;
  background: var(--bg);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-weight: 600;
  border: 1px solid var(--border);
  font-size: 0.85rem;
}

/* Footer */
footer {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links a {
  margin-left: 2rem;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

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

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 3rem; }
  .logo span { display: none; }
  .hero { padding: 8rem 0 4rem; }
}
