body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #f0f0f3;
  color: #333;
  transition: background 0.3s, color 0.3s;
}
body.dark {
  background: #1e1e2f;
  color: #f5f5f5;
}

/* Container */
.container {
  max-width: 1100px;
  margin: 10px auto;
  padding: 0 10px;
}

/* Header */
.header {
  width: 100%;
  background: #f0f0f3;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: relative;
}
body.dark .header {
  background: #1e1e2f;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.logo-box {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 25px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
body.dark .logo-box {
  background: #2a2a3a;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.logo-box img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}
.theme-toggle {
  cursor: pointer;
  padding: 10px 18px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
body.dark .theme-toggle {
  background: #1e1e2f;
  box-shadow: 0 2px 6px rgba(0,0,0,0.35);
}

/* Founder Section */
.founder-section {
  background: #f0f0f3;
  border-radius: 20px;
  margin: 10px 0;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.founder-section:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}
body.dark .founder-section {
  background: #1e1e2f;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.founder-section img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.founder-bio h3 {
  margin: 0 0 8px;
  font-size: 1.2em;
}
.founder-bio p {
  margin: 4px 0;
  font-size: 0.95em;
  line-height: 1.5;
}
.founder-bio strong {
  color: #444;
}
body.dark .founder-bio strong {
  color: #ddd;
}

/* App Cards */
.app-card {
  background: #f0f0f3;
  border-radius: 20px;
  padding: 15px;
  margin: 10px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.app-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}
body.dark .app-card {
  background: #1e1e2f;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.app-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.app-logo {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  margin-right: 15px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
body.dark .app-logo {
  background: #2a2a3a;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.app-logo img {
  width: 65%;
  height: 65%;
  object-fit: contain;
}
.app-title h2 {
  margin: 0;
  font-size: 1.2em;
}
.app-title .by-text {
  margin: 7px 0 0 0;
  font-size: 0.9em;
  line-height: 1.2;
  color: #666;
}
body.dark .app-title .by-text {
  color: #bbb;
}
.app-description {
  margin: 10px 0 15px;
  font-size: 0.95em;
  line-height: 1.5;
}

/* Screenshots */
.screenshots {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding: 10px;
  background: rgba(255,255,255,0.5);
  border-radius: 14px;
}
body.dark .screenshots {
  background: rgba(255,255,255,0.05);
}
.screenshots img {
  width: 140px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: transform 0.2s;
}
.screenshots img:hover {
  transform: scale(1.05);
}
body.dark .screenshots img {
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* Footer */
.footer {
  text-align: center;
  padding: 15px 10px;
  font-size: 0.9em;
  background: #f0f0f3;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
}
body.dark .footer {
  background: #1e1e2f;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.35);
}

/* Image Dialog */
.img-dialog {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.img-dialog img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
}
.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
}
.hidden {
  display: none;
}

/* Floating Contact Us Button */
.contact-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 12px 22px;
  background: linear-gradient(135deg, #0a1a3c, #193a70);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 1500;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease, color 0.3s ease;
}
.contact-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}
body.dark .contact-btn {
  background: linear-gradient(135deg, #fff, #f0f0f0);
  color: #0a1a3c;
}
body.dark .contact-btn:hover {
  background: #f5f5f5;
}
.contact-btn span {
  font-size: 18px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .app-card {
    padding: 10px;
  }
  .screenshots {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    overflow-x: hidden;
  }
  .screenshots img {
    width: 100%;
    height: auto;
  }
  .founder-section {
    flex-direction: column;
    text-align: center;
  }
  .theme-toggle {
    position: absolute;
    top: 15px;
    right: 20px;
  }
  .logo-box {
    margin-top: 15px;
  }
}
