/* Extended corporate style based on existing TubeTransfer theme */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

:root {
  --bg:#ffffff;
  --text:#0f172a;
  --muted:#475569;
  --border:#e5e7eb;
  --accent1:#5b57ff;
  --accent2:#ff4da0;
}

body {
  background:var(--bg);
  color:var(--text);
  font:16px/1.6 -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Inter,system-ui,sans-serif;
}
a { color:var(--accent1); text-decoration:none; }
a:hover { text-decoration:underline; }

.header-hero {
  background:linear-gradient(135deg, var(--accent1) 0%, #6a58ff 25%, #8d53ff 55%, var(--accent2) 100%);
  color:#fff;
  text-align:center;
  padding:60px 20px 100px;
  position:relative;
}
.header-top {
  position:absolute;
  top:0;left:0;right:0;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 40px;
  background:rgba(0,0,0,0.25);
  backdrop-filter:blur(6px);
}
.header-top .brand { display:flex; align-items:center; gap:10px; }
.header-top .brand img { width:36px; height:36px; border-radius:8px; }
.header-top .brand span { font-size:20px; color:#fff; font-weight:500; }
.header-top .nav { display:flex; gap:20px; font-size:15px; }
.header-top .nav a { color:#e5e7eb; }
.header-top .nav a:hover { color:#fff; }
.header-hero h1 { margin-top:100px; font-size:44px; font-weight:500; }
.header-hero .tagline { font-size:18px; margin-top:10px; }

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

.about-section, .products-section {
  margin-top:40px;
}
.product-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px,1fr));
  gap:24px;
  margin-top:20px;
}
.product-card {
  border:1.5px solid var(--border);
  border-radius:14px;
  padding:24px;
  background:#fff;
  box-shadow:0 2px 8px rgba(0,0,0,0.03);
}
.product-card h3 { margin-top:0; }
.btn {
  display:inline-block;
  margin-top:12px;
  padding:10px 18px;
  background:linear-gradient(135deg, var(--accent1), var(--accent2));
  color:#fff;
  border-radius:8px;
  transition:transform 0.2s ease;
}
.btn:hover { transform:scale(1.05); }

.footer {
  border-top:1px solid var(--border);
  padding:26px 0;
  color:var(--muted);
  font-size:14px;
  text-align:center;
}
.footer .links { display:flex; justify-content:center; gap:16px; margin-bottom:8px; flex-wrap:wrap; }
.footer .links a { color:var(--muted); }
.footer small { display:block; text-align:center; }
.center { text-align:center; }
.appstore {
  display:block;
  margin:14px auto 0;
  max-width:200px;
  height:auto;
}
/* App Store button adjustments */
.download-section {
  text-align:center;
  margin-top:60px;        /* duration before content */
  margin-bottom:40px;
}

.download-section img.appstore {
  display:inline-block;
  border:none;             /* without border */
  box-shadow:none;         /* get out shadow */
  margin-top:0;
  transition:transform 0.15s ease;
}

.download-section img.appstore:hover {
  transform:scale(1.04);   /* light hover-effect */
}

/* Back button styles */
.back-btn-container { margin-bottom: 20px; }
.back-btn { background: linear-gradient(135deg, var(--accent1), var(--accent2)); color: #fff; border-radius: 8px; padding: 8px 14px; display: inline-block; }


/* === Restored Card Container (TubeTransfer style) === */
.card {
  background:#fff;
  border:1.5px solid var(--border);
  border-radius:14px;
  padding:24px;
  margin:16px auto;
  max-width:900px;
  box-shadow:0 2px 6px rgba(0,0,0,0.03);
}

/* === Tightened Layout Adjustments === */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px;
}
.header-hero {
  padding: 40px 20px 60px;
}
.footer {
  margin-top: 20px;
  padding: 20px 0;
}

/* === Mobile adjustments === */
@media (max-width: 768px) {

  .header-hero {
    padding: 60px 20px 80px;
  }

  .header-top {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 20px;
    background: rgba(0, 0, 0, 0.4);
  }

  .header-top .brand {
    margin-bottom: 10px;
  }

  .header-top .nav {
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
  }

  .header-hero h1 {
    font-size: 32px;
    margin-top: 80px;
  }

  .container {
    padding: 16px;
  }

  .card {
    padding: 18px;
    margin: 16px auto;
  }

  .footer .links {
    flex-wrap: wrap;
    gap: 10px;
    font-size: 14px;
  }

  .download-section {
    margin-top: 40px;
    margin-bottom: 30px;
  }

  .download-section img.appstore {
    max-width: 160px;
  }
}
