/* Base Styles & Shared
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.button {
  border-radius: 100px;
  font-size: 1.3rem;
}
.section {
  padding: 8rem 0 7rem;
  text-align: center;
}
.section-heading {
  margin-bottom: 1.5rem;
  font-size: 3.2rem;
  font-weight: 600;
}
.section-description {
  margin-bottom: 2rem;
  font-size: 1.6rem;
  color: #666;
}

/* Header & Nav
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.header {
    padding: 1rem 0;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navbar-brand {
    font-size: 2rem;
    font-weight: 700;
    text-decoration: none;
    color: #333;
}
.navbar-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}
.navbar-nav li {
    margin-left: 2.5rem;
}
.navbar-nav a {
    text-decoration: none;
    color: #555;
    font-size: 1.5rem;
    transition: color 0.2s ease-in-out;
}
.navbar-nav a:hover {
    color: #33C3F0;
}

/* ThreatLens Section
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#threatlens {
    background-color: #fff;
}
.feature-card {
    padding: 2rem;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 2rem;
    background: #fcfcfc;
}
.feature-icon {
    width: 45px;
    height: 45px;
    margin-bottom: 1.5rem;
}
.feature-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

/* Threat Report
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.threat-report-section {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid #eee;
}
.threat-report-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 3rem;
    text-align: left;
    margin-bottom: 3rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.report-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}
.report-header h4 {
    margin: 0;
    font-size: 2rem;
}
.report-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.report-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    font-size: 1.4rem;
}
.report-list li:last-child {
    border-bottom: none;
}
.report-list li span {
    font-weight: 600;
    color: #333;
}

/* IP Check Form
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.ip-check-form {
    margin-top: 3rem;
    padding: 3rem;
    background: #f9f9f9;
    border-radius: 8px;
}
.ip-check-form h4 {
    font-size: 2.2rem;
}
.ip-check-form form {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
}
.ip-check-form input[type="text"] {
    width: 50%;
    margin-right: 1rem;
    margin-bottom: 0;
}
.ip-check-form button {
    margin-bottom: 0;
}

/* API Docs
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.api-docs {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid #eee;
    text-align: left;
}
.api-docs h3 {
    text-align: center;
}
.api-docs pre {
    background-color: #f4f5f7;
    padding: 1.5rem;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    white-space: pre-wrap;
    word-wrap: break-word;
}
.api-docs p {
    text-align: center;
    font-size: 1.6rem;
    margin-top: 2rem;
}

/* NonRepudia Section
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#nonrepudia {
    background-color: #f4f5f7;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}
#nonrepudia .section-description {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}
#nonrepudia h5 {
    font-size: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #33C3F0;
    padding-bottom: 0.5rem;
    display: inline-block;
}
#nonrepudia ul, #nonrepudia ol {
    text-align: left;
    margin-left: 2rem;
}
#nonrepudia p {
    text-align: left;
}
#nonrepudia .button {
    margin-top: 3rem;
}

/* Meow Pixel Section
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#meowpixel {
    background-color: #fff;
}
#meowpixel h5 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
#meowpixel .row {
    text-align: left;
}
#meowpixel pre {
    background-color: #f4f5f7;
    padding: 1.5rem;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    white-space: pre-wrap;
    word-wrap: break-word;
}
#meowpixel code {
    font-family: 'Menlo', 'Consolas', monospace;
    font-size: 1.3rem;
}


/* Footer
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.footer {
    background-color: #333;
    color: #ccc;
    padding: 4rem 0;
    text-align: center;
    font-size: 1.3rem;
}

/* Media Queries
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (min-width: 550px) {
  .section {
    padding: 10rem 0 9rem;
  }
  .section-heading {
    font-size: 3.6rem;
  }
}

@media (min-width: 750px) {
  .section {
    padding: 12rem 0 11rem;
  }
  .ip-check-form input[type="text"] {
    width: 40%;
  }
}