html, body {
  height: 100%;
}
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', system-ui, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%);
  background-attachment: fixed;
  background-size: 100% 100%;
  color: #222;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
  /* optional: for demo, padding or margin */
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.05);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 85px;
  padding: 0 40px;
}
.logo {
  height: 65px;
  transition: transform 0.2s ease;
}
.logo:hover {
  transform: scale(1.05);
}
nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
nav a {
  margin: 0;
  text-decoration: none;
  color: #4a5568;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 12px;
  transition: all 0.2s ease;
  font-size: 0.95em;
  letter-spacing: 0.5px;
  position: relative;
}
nav a:hover {
  background: rgba(41, 64, 211, 0.08);
  color: #2940d3;
  transform: translateY(-1px);
}
nav a.active {
  background: linear-gradient(135deg, #2940d3 0%, #3b4ecf 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(41, 64, 211, 0.3);
}
.hero {
  text-align: center;
  margin: 80px 0 60px;
  position: relative;
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.9) 100%);
  border-radius: 24px;
  padding: 60px 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1), 0 8px 25px rgba(0,0,0,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.hero h1 {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #1a202c;
  font-weight: 800;
  letter-spacing: -2px;
  background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}
.subtitle {
  color: #4a5568;
  font-size: 1.3em;
  margin-bottom: 35px;
  line-height: 1.6;
  font-weight: 400;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hardware-note {
  color: #2940d3;
  font-weight: 600;
  font-size: 1em;
  background: rgba(41, 64, 211, 0.1);
  padding: 8px 16px;
  border-radius: 20px;
  display: inline-block;
  margin-top: 5px;
}
.cta-badge {
  display: inline-block;
  margin-bottom: 45px;
  margin-top: 15px;
  transition: all 0.2s ease;
}
.cta-badge:hover {
  transform: translateY(-2px);
}
.app-store-badge {
  height: 52px;
  width: auto;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15), 0 4px 10px rgba(0,0,0,0.1);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.3);
  transition: all 0.2s ease;
}
.app-store-badge:hover {
  box-shadow: 0 12px 35px rgba(0,0,0,0.2), 0 6px 15px rgba(0,0,0,0.15);
}
.screenshot-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 0;
  margin-bottom: 0;
}
.app-screenshot {
  max-width: 350px;
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(41,64,211,0.11);
  border: 1.5px solid #e6eaf3;
  background: #fff;
  transition: box-shadow 0.2s;
}
.app-screenshot:hover {
  box-shadow: 0 12px 48px rgba(41,64,211,0.15);
  cursor: pointer;
}

/* Lightbox styles */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
}

.lightbox-close:hover {
  color: #ddd;
}

#lightbox-image {
  max-width: 100%;
  max-height: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
footer {
  background: linear-gradient(135deg, rgba(26, 32, 44, 0.95) 0%, rgba(45, 55, 72, 0.9) 100%);
  backdrop-filter: blur(20px);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95em;
  padding: 40px 0 35px;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  position: relative;
}
footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
}
footer a {
  color: #90cdf4;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  padding: 4px 8px;
  border-radius: 6px;
}
footer a:hover {
  color: #bee3f8;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}
/* Responsive tweaks */
@media (max-width: 950px) {
  .content-split { flex-direction: column; gap: 40px; }
  .screenshots-section h3, .hardware-section h3 { font-size: 1.4em; }
  .hero { padding: 50px 30px; margin: 60px 20px 50px; }
  .hero h1 { font-size: 2.4em; letter-spacing: -1px; }
  .subtitle { font-size: 1.2em; }
}
@media (max-width: 600px) {
  .header-flex {
    flex-direction: column;
    height: auto;
    padding: 20px;
    gap: 15px;
  }
  .logo { height: 50px; }
  nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
  }
  nav a {
    padding: 8px 14px;
    font-size: 0.9em;
  }
  .hero {
    padding: 40px 20px;
    margin: 40px 10px 30px;
    border-radius: 20px;
  }
  .hero h1 {
    font-size: 1.8em;
    letter-spacing: -1px;
    margin-bottom: 15px;
  }
  .subtitle {
    font-size: 1.1em;
    margin-bottom: 25px;
  }
  .hardware-note {
    font-size: 0.9em;
    padding: 6px 12px;
  }
  .app-store-badge { height: 48px; }
  .content-split { margin: 30px 10px 25px; padding: 30px 20px; gap: 30px; }
  .screenshots-section h3, .hardware-section h3 { font-size: 1.2em; margin-bottom: 15px; }
  .terminal-item { padding: 15px; }
  .terminal-image, .feature-icon { max-width: 60px; max-height: 50px; width: 60px; height: 50px; margin-right: 15px; }
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 34px auto;
  max-width: 650px;
  text-align: left;
  font-size: 1.14em;
}

.features-list li {
  margin: 0 0 14px 0;
  padding-left: 0;
  position: relative;
  line-height: 1.0;
}

@media (max-width: 650px) {
  .features-list {
    font-size: 1em;
    max-width: 98vw;
  }
  .features-screenshot {
    max-width: 98vw;
  }
}

.privacy-section {
  max-width: 820px;
  margin: 50px auto 60px auto;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1), 0 5px 15px rgba(0,0,0,0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 40px 40px 40px 40px;
  text-align: left;
}

.privacy-section h2 {
  font-size: 2em;
  font-weight: 700;
  margin-bottom: 4px;
  text-align: left;
}

.privacy-date {
  color: #666;
  margin-bottom: 24px;
}

.privacy-section h3 {
  font-size: 1.17em;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 10px;
  color: #2940d3;
}

.privacy-section p {
  margin: 0 0 18px 0;
  color: #222;
  font-size: 1.05em;
  line-height: 1.7;
}

.privacy-thanks {
  margin-top: 40px;
  font-style: italic;
  color: #888;
  text-align: center;
}

.hardware-disclaimer {
  background: rgba(41, 64, 211, 0.05);
  border-left: 3px solid #2940d3;
  padding: 1rem;
  margin: 1.5rem 0;
  border-radius: 4px;
  font-size: 0.95em;
}

.featured-terminals {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin: 25px 0;
}

.terminal-highlight {
  background: linear-gradient(135deg, #f8fafc 0%, #eef3ff 100%);
  border: 2px solid #2940d3;
  border-radius: 12px;
  padding: 20px;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.hardware-page-image {
  width: 100px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
  background: #fff;
  border-radius: 8px;
  padding: 10px;
}

.terminal-content {
  flex: 1;
}

.terminal-highlight h4 {
  font-size: 1.3em;
  margin: 0 0 10px 0;
  color: #2940d3;
  font-weight: 700;
}

.terminal-highlight p {
  margin: 8px 0;
  line-height: 1.5;
}

.terminal-highlight p:first-of-type {
  font-weight: 600;
  color: #1a237e;
}

.content-split {
  display: flex;
  gap: 50px;
  margin: 50px auto 40px;
  max-width: 1200px;
  align-items: flex-start;
  padding: 40px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1), 0 5px 15px rgba(0,0,0,0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.screenshots-section {
  flex: 1;
  text-align: center;
}

.screenshots-section h3 {
  font-size: 1.6em;
  margin-bottom: 25px;
  color: #23272f;
  font-weight: 600;
}

.hardware-section {
  flex: 1;
  text-align: left;
}

.hardware-section h3 {
  font-size: 1.6em;
  margin-bottom: 25px;
  color: #23272f;
  font-weight: 600;
}

.terminal-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.terminal-item {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 3px 15px rgba(41,64,211,0.06);
  border: 1px solid #f0f2f7;
  transition: transform 0.2s, box-shadow 0.2s;
}

.terminal-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 25px rgba(41,64,211,0.1);
}

.terminal-image {
  width: 80px;
  height: 70px;
  object-fit: contain;
  margin-right: 20px;
  flex-shrink: 0;
}

.feature-icon {
  font-size: 2.5em;
  margin-right: 20px;
  width: 80px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.terminal-info {
  flex: 1;
}

.terminal-item h4 {
  font-size: 1.2em;
  margin: 10px 0 8px;
  color: #2940d3;
  font-weight: 600;
}

.terminal-item p {
  color: #5d636f;
  font-size: 0.95em;
  line-height: 1.4;
  margin-bottom: 12px;
}

.hardware-link {
  color: #2940d3;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9em;
}

.hardware-link:hover {
  text-decoration: underline;
}

.terminal-product-link {
  color: #2940d3;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  transition: all 0.2s ease;
}

.terminal-product-link:hover {
  color: #1a237e;
  transform: translateX(2px);
}

@media (max-width: 700px) {
  .privacy-section {
    margin: 30px 10px 40px;
    padding: 30px 20px;
    font-size: 1em;
  }
  .featured-terminals {
    grid-template-columns: 1fr;
  }
  .terminal-highlight {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  .hardware-page-image {
    width: 80px;
    height: 65px;
    align-self: center;
  }
}

/* Blog Styles */
.blog-posts {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
}

.blog-post-preview {
  padding: 30px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}

.blog-post-preview:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.blog-post-preview h2 {
  margin: 0 0 12px 0;
  font-size: 1.4em;
}

.blog-post-preview h2 a {
  color: #2940d3;
  text-decoration: none;
  font-weight: 600;
}

.blog-post-preview h2 a:hover {
  text-decoration: underline;
}

.post-meta {
  color: #666;
  font-size: 0.9em;
  margin: 0 0 15px 0;
  font-style: italic;
}

.blog-post-preview p {
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 20px;
}

.read-more {
  color: #2940d3;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95em;
}

.read-more:hover {
  text-decoration: underline;
}

/* Blog Article Styles */
.blog-article {
  max-width: 800px;
  margin: 50px auto 60px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 50px;
  text-align: left;
}

.blog-article h1 {
  font-size: 2.2em;
  margin-bottom: 15px;
  color: #1a202c;
  font-weight: 700;
  line-height: 1.2;
}

.blog-article .post-meta {
  margin-bottom: 35px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
}

.blog-article h2 {
  font-size: 1.5em;
  margin: 35px 0 15px 0;
  color: #2940d3;
  font-weight: 600;
}

.blog-article h3 {
  font-size: 1.25em;
  margin: 25px 0 12px 0;
  color: #2d3748;
  font-weight: 600;
}

.blog-article p {
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 1.05em;
}

.blog-article ul, .blog-article ol {
  margin: 20px 0;
  padding-left: 25px;
}

.blog-article li {
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 8px;
}

.blog-cta {
  background: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 100%);
  border: 2px solid #2940d3;
  border-radius: 12px;
  padding: 25px;
  margin: 35px 0;
  text-align: center;
}

.blog-cta h3 {
  color: #2940d3;
  margin: 0 0 10px 0;
}

.blog-cta p {
  margin: 0 0 15px 0;
  color: #1a237e;
}

@media (max-width: 700px) {
  .blog-article {
    margin: 30px 10px 40px;
    padding: 30px 25px;
  }
  .blog-article h1 {
    font-size: 1.8em;
  }
  .blog-post-preview {
    padding: 25px 20px;
  }
}