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

html, body {
    width: 100%;
    height: 100%;
    background: #F4FFF6;
}

.gradient-background {
    width: 100%;
    height: 250px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        45deg,
        rgba(95, 216, 0, 0.2),    /* #5FD800 */
        rgba(33, 29, 85, 0.8)      /* #211D55 */
    ), rgba(0, 0, 0, 0.9);   /* #E2F2FF */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 2rem;
}

.gradient-background::before,
.gradient-background::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    filter: blur(100px);
}

.blob {
    position: absolute;
    filter: blur(60px);
    mix-blend-mode: screen;
    animation: float 50s infinite;
    border-radius: 50%;
    opacity: 0.6;
}

.blob:nth-child(1) {
    width: 400px;
    height: 400px;
    background: #5FD800;
    animation-delay: -2s;
}

.blob:nth-child(2) {
    width: 350px;
    height: 350px;
    background: #211D55;
    animation-delay: -5s;
}

.blob:nth-child(3) {
    width: 300px;
    height: 300px;
    background: #E2F2FF;
    animation-delay: -8s;
}

.blob:nth-child(4) {
    width: 450px;
    height: 450px;
    background: #5FD800;
    animation-delay: -11s;
}

.blob:nth-child(5) {
    width: 380px;
    height: 380px;
    background: #211D55;
    animation-delay: -14s;
}

.blob:nth-child(6) {
    width: 380px;
    height: 380px;
    background: #E2F2FF;
    animation-delay: -19s;
}

@keyframes float {
    0% {
        transform: translate(0%, 0%) rotate(0deg);
    }
    25% {
        transform: translate(100%, 100%) rotate(90deg);
    }
    50% {
        transform: translate(100%, -100%) rotate(180deg);
    }
    75% {
        transform: translate(-100%, 100%) rotate(270deg);
    }
    100% {
        transform: translate(0%, 0%) rotate(360deg);
    }
}

.header-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1;
    position: relative;
    padding-top: 8rem;
}

.header-text {
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: 3em;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.logo {
    height: 60px;
    width: auto;
}

.tagline {
    position: relative;
    text-align: center;
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    opacity: 0.75;
    margin-top: 0;
    z-index: 1;
    font-size: 0.9em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#text {
    margin-left: 5%;
    margin-right: 5%;
  }

  body {
    /* margin: 5%; */
    font-family: -apple-system, BlinkMacSystemFont, Helvetica, arial, sans-serif;
    font-size: 20px;
    font-weight: 200;
    line-height: 1.65;
    color: #000000; /* #6a737d; */
    background: #F4FFF6;
  }

  .rest {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
  }

  blockquote> :first-child {
    margin-top: 0;
  }

  blockquote> :last-child {
    margin-bottom: 0;
  }

  @media screen and (min-width: 950px) {
    .rwd-break {
      display: none;
    }
  }

  @media screen and (min-width: 600px) {
    .rwd-break2 {
      display: none;
    }
  }
  
  a {
    color: #0b3a6f;
    text-decoration: none;
    padding-bottom: 1px;
  }


  blockquote {
    border-left: 4px solid #dfe2e5;
    padding: 0 15px;
    color: #6a737d;
    margin-left: 0px;
  }

  hr {
    background-color: #dfe2e5;
    color: #dfe2e5;
  }


  h1 {
    font-size: 60px;
    font-weight: 300;
    line-height: 1.2;
  }

  p3 {
    white-space: nowrap;
    overflow: hidden;
    word-wrap: break-word;
  }

  p4 {
    /* white-space: nowrap; */
    /* overflow: hidden;
    word-wrap: break-word; */
    font-size: 0.85rem;
    line-height: 0;
  }

  hr {
    border: 0 none;
    height: 4px;
    padding: 0;
    margin: 24px 0;
  }

  div.gallery {
    margin: 5px;
    border: 1px solid #ccc;
    float: left;
    width: 180px;
  }
  
  div.gallery:hover {
    border: 1px solid #777;
  }
  
  div.gallery img {
    width: 100%;
    height: auto;
  }
  
  div.desc {
    padding: 15px;
    text-align: center;
  }

  details {
    user-select: none;
  }
  
  details>summary span.icon {
    width: 24px;
    height: 24px;
    transition: all 0.3s;
    margin-left: auto;
  }
  
  details[open] summary span.icon {
    transform: rotate(180deg);
  }
  
  summary {
    display: flex;
    cursor: pointer;
  }
  
  summary::-webkit-details-marker {
    display: none;
  }

  .features-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 2rem auto;
  }

  .features-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: transform 0.2s ease, background 0.2s ease;
  }

  .features-list li:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.1);
  }

  .feature-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    min-width: 2rem;
    text-align: center;
  }

  .feature-content {
    flex: 1;
  }

  .feature-content strong {
    color: #000;
    display: block;
    margin-bottom: 0.25rem;
  }

  /* Legal Pages Styles */
  .legal-content {
    max-width: 800px;
    margin: 8rem auto 4rem;
    padding: 0 2rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  }

  .legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
  }

  .legal-content h2 {
    font-size: 1.5rem;
    text-align: left;
    margin-top: 2rem;
  }

  .legal-content p {
    margin-bottom: 1rem;
  }

  .back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-decoration: none;
  }

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

  .app-store-button {
    position: relative;
    z-index: 1;
    margin-top: 0.5rem;
  }

  .feature-bug-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: rgba(33, 29, 85, 0.9);
    color: white !important;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
  }

  .feature-bug-btn:hover {
    background: rgba(33, 29, 85, 1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(33, 29, 85, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
  }

  /* Changelog Styles */
  .changelog-container {
    max-width: 800px;
    margin: 0 auto;
  }

  .version-section {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
  }

  .current-version {
    background: linear-gradient(135deg, rgba(95, 216, 0, 0.1), rgba(33, 29, 85, 0.05));
    border: 2px solid rgba(95, 216, 0, 0.3);
  }

  .version-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .version-number {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    color: #211D55;
  }

  .current-badge {
    background: #5FD800;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .release-message {
    font-size: 1.2rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(95, 216, 0, 0.1);
    border-radius: 8px;
    border-left: 4px solid #5FD800;
  }

  .changelog-section {
    margin-bottom: 2rem;
  }

  .section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
  }

  .section-title.new {
    color: #5FD800;
  }

  .section-title.improved {
    color: #007AFF;
  }

  .section-title.fixed {
    color: #FF6B35;
  }

  .section-icon {
    font-size: 1.1rem;
  }

  .changelog-list {
    list-style: none;
    padding: 0;
  }

  .changelog-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    line-height: 1.5;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .changelog-list li:last-child {
    border-bottom: none;
  }

  .changelog-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0.75rem;
    color: #5FD800;
    font-weight: bold;
    font-size: 1.2rem;
  }

  .version-banner {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 1rem 2rem;
    border-radius: 12px;
    margin: 2rem auto;
    text-align: center;
    max-width: 600px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    display: block;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
  }

  .version-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    color: #333;
  }

  .banner-version {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
  }

  .banner-message {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
  }

  .banner-chevron {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.7;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .version-banner:hover .banner-chevron {
    opacity: 1;
    transform: translateY(-50%) translateX(3px);
  }

  /* Incidents Page Styles */
  .incidents-container {
    max-width: 800px;
    margin: 0 auto 3rem;
  }

  .incident-timeline {
    position: relative;
  }

  .incident-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(0, 0, 0, 0.1);
  }

  .incident-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 60px;
  }

  .incident-item::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 8px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: white;
    border: 3px solid #ddd;
    z-index: 1;
  }

  .incident-item.resolved::before {
    border-color: #28a745;
    background: #28a745;
  }

  .incident-item.investigating::before {
    border-color: #ffc107;
    background: #ffc107;
  }

  .incident-date {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
    font-weight: 500;
  }

  .incident-content {
    background: rgba(255, 255, 255, 0.7);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
  }

  .incident-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
  }

  .incident-status.resolved {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
  }

  .incident-status.investigating {
    background: rgba(255, 193, 7, 0.1);
    color: #856404;
  }

  .incident-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
  }

  .incident-description {
    margin-bottom: 1rem;
    line-height: 1.6;
  }

  .incident-description:last-child {
    margin-bottom: 0;
  }

  .status-summary {
    background: rgba(255, 255, 255, 0.7);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
    text-align: center;
  }

  .current-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    margin-bottom: 1rem;
  }

  .current-status.operational {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
  }

  /* FAQ Section Styles */
  .faq-container {
    max-width: 700px;
    margin: 0 auto;
  }

  .faq-item {
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
  }

  .faq-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
  }

  .faq-item[open] {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(95, 216, 0, 0.3);
  }

  .faq-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    list-style: none;
  }

  .faq-summary::-webkit-details-marker {
    display: none;
  }

  .faq-summary:hover {
    color: #5FD800;
  }

  .faq-icon {
    width: 24px;
    height: 24px;
    position: relative;
    background: rgba(95, 216, 0, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
  }

  .faq-icon::before,
  .faq-icon::after {
    content: '';
    position: absolute;
    background: #5FD800;
    transition: all 0.3s ease;
  }

  .faq-icon::before {
    width: 10px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .faq-icon::after {
    width: 2px;
    height: 10px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .faq-item[open] .faq-icon {
    transform: rotate(45deg);
    background: rgba(95, 216, 0, 0.2);
  }

  .faq-content {
    padding: 0 1.2rem 1.2rem 1.2rem;
    animation: fadeInUp 0.3s ease;
  }

  .faq-content p {
    margin: 0;
    line-height: 1.6;
    color: #555;
  }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }