/* RocketApps Static Site Styles */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111827;
  background-color: #FFFFFF;
  line-height: 1.6;
}

/* Global Container */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Top Color Bar */
.top-bar {
  width: 100%;
  height: 36px;
  background-color: #4473EA;
}

/* Header / Navbar */
header {
  background-color: #FFFFFF;
  border-bottom: 1px solid #E5E7EB;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 68px;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
}

.logo-rocket {
  color: #111827;
}

.logo-apps {
  color: #4473EA;
}

nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

nav a {
  color: #111827;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
}

nav a:hover {
  color: #4473EA;
}

.btn-contact {
  padding: 8px 18px;
  border: 1px solid #4473EA;
  border-radius: 999px;
  color: #4473EA;
  background-color: transparent;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s;
  cursor: pointer;
}

.btn-contact:hover {
  background-color: #E8EEFF;
}

/* Footer */
footer {
  margin-top: 96px;
  border-top: 1px solid #E5E7EB;
  padding: 32px 0;
  height: 100px;
}

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

.footer-text {
  color: #4B5563;
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: #4B5563;
  text-decoration: none;
  font-size: 14px;
  transition: text-decoration 0.2s;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Hero Section */
.hero {
  padding: 72px 0 96px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #111827;
}

.hero-content p {
  font-size: 18px;
  line-height: 1.7;
  color: #4B5563;
  margin-bottom: 32px;
}

.btn-primary {
  display: inline-block;
  padding: 14px 28px;
  background-color: #4473EA;
  color: #FFFFFF;
  border-radius: 999px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(68, 115, 234, 0.25);
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #3461d9;
  box-shadow: 0 8px 24px rgba(68, 115, 234, 0.35);
  transform: translateY(-1px);
}

.hero-subtext {
  margin-top: 16px;
  font-size: 14px;
  color: #4B5563;
}

.illustration-card {
  background-color: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Documentation Hub */
.docs-intro {
  text-align: center;
  padding: 64px 0 48px;
}

.docs-label {
  font-size: 14px;
  font-weight: 600;
  color: #4473EA;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.docs-intro h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #111827;
}

.docs-intro p {
  font-size: 18px;
  color: #4B5563;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.7;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 360px));
  gap: 24px;
  padding-bottom: 64px;
}

.app-card {
  background-color: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 24px;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}

.app-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.app-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background-color: #FFFFFF;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.app-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.app-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #111827;
}

.app-card p {
  font-size: 15px;
  color: #4B5563;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.app-card a {
  color: #4473EA;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s;
}

.app-card a:hover {
  color: #3461d9;
}

.app-card a.coming-soon {
  color: #9CA3AF;
  cursor: default;
}

/* Documentation Page Layout */
.doc-layout {
  display: flex;
  gap: 48px;
  padding: 48px 0 64px;
}

.doc-sidebar {
  width: 240px;
  flex-shrink: 0;
}

.doc-content {
  flex: 1;
  min-width: 0;
}

.sidebar-title {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 24px;
}

.sidebar-section {
  margin-bottom: 24px;
}

.sidebar-heading {
  font-size: 13px;
  font-weight: 600;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.sidebar-nav {
  list-style: none;
}

.sidebar-nav li {
  margin-bottom: 8px;
}

.sidebar-nav a {
  display: block;
  padding: 6px 12px;
  color: #4B5563;
  text-decoration: none;
  font-size: 14px;
  border-left: 2px solid transparent;
  transition: all 0.2s;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  color: #4473EA;
  border-left-color: #4473EA;
  background-color: #F9FAFB;
}

.doc-content h1 {
  font-size: 36px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 20px;
}

.doc-content h2 {
  font-size: 28px;
  font-weight: 700;
  color: #111827;
  margin-top: 48px;
  margin-bottom: 16px;
  padding-top: 16px;
}

.doc-content p {
  font-size: 16px;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 16px;
}

.doc-content section {
  margin-bottom: 48px;
}

.doc-content ul {
  margin: 16px 0 24px 24px;
}

.doc-content li {
  font-size: 16px;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 12px;
}

/* Responsive Design */
@media (max-width: 900px) {
  .doc-layout {
    flex-direction: column;
  }

  .doc-sidebar {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-wrap: wrap;
    height: auto;
    padding: 16px 0;
  }

  nav {
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .hero-content h1 {
    font-size: 36px;
  }

  .apps-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }

  .doc-content h1 {
    font-size: 28px;
  }

  .doc-content h2 {
    font-size: 24px;
  }
}
