/* PetalsWeb - Modern AI Platform Styling */

/* ==========================================================================
   Base styles and CSS Reset
   ========================================================================== */
.process-diagram {
    max-width: 100%;
    height: auto;
    max-height: 800px;
    display: block;
    margin: 0 auto;
}

.diagram-container {
    width: 100%;
    padding: 20px 0;
    overflow: hidden;
    text-align: center;
    margin-bottom: 100px;

}

/* Dropdown container */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown button */
.dropbtn {
    cursor: pointer;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #000000;
    min-width: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Dropdown links */
.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Add to your CSS */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}
.hamburger {
    width: 25px;
    height: 3px;
    background: #333;
    display: block;
    position: relative;
}
.hamburger::before,
.hamburger::after {
    content: "";
    width: 25px;
    height: 3px;
    background: #333;
    position: absolute;
    left: 0;
}
.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: #000000;
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    .nav-links.active {
        display: flex;
    }
    .nav-toggle {
        display: block;
    }
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background-color: #000000;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Custom Styles - Scribeli Inspired Design
   ========================================================================== */

/* Container and Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 10px;
  color: #f1f5f9;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
  background: transparent;
  color: #60a5fa;
  border: 2px solid #60a5fa;
}

.btn-secondary:hover {
  background: #60a5fa;
  color: #0f172a;
}

.btn-outline {
  background: transparent;
  color: #9ca3af;
  border: 2px solid #374151;
}

.btn-outline:hover {
  border-color: #60a5fa;
  color: #60a5fa;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 10px solid #111111;
  z-index: 1000;
}

.nav {
  display: flex;
    justify-content: space-between;
  align-items: center;
  padding: 0.125rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: start;
  justify-content: flex-start;
  gap: 0.5rem;
}

.logo {
  width: 100px;
  height: 100px;
  filter: brightness(0) invert(1);
  cursor: pointer;
  object-fit: contain;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #60a5fa;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}

.nav-links a {
  text-decoration: none;
  color: #9ca3af;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #60a5fa;
}

/* Hero Section */
.hero {
  padding: 15rem 0 4rem;
  background: #000000;
  overflow: hidden;
}

.hero .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    gap: 1rem;
}


.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #f1f5f9, #60a5fa);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  width: 100%;
  height: 400px;
  background: #000000;
  border-radius: 16px;
  position: relative;
  padding: 20px;
  border: 2px solid #00ff00;
  font-family: 'Courier New', 'Monaco', 'Lucida Console', monospace;
    margin-bottom: 100px;
}

.chat-interface {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  background: #000000;
}

.chat-header {
  background: #000000;
  border-radius: 4px;
  padding: 8px;
  text-align: left;
  border: 1px solid #00ff00;
}

.chat-title {
  color: #00ff00;
  font-size: 12px;
  font-weight: 400;
  margin: 0;
  font-family: 'Courier New', monospace;
  text-transform: uppercase;
}

.chat-subtitle {
  color: #00aa00;
  font-size: 10px;
  margin: 2px 0 0 0;
  font-family: 'Courier New', monospace;
}

.chat-messages {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  background: #000000;
  padding: 10px;
  border: 1px solid #00ff00;
  border-radius: 4px;
}

.message {
  padding: 6px 8px;
  border-radius: 0;
  max-width: 90%;
  font-size: 11px;
  line-height: 1.3;
  background: #000000;
  color: #00ff00;
  font-family: 'Courier New', monospace;
  border-left: 2px solid #00ff00;
  margin: 2px 0;
}

.message.user {
  background: #000000;
  color: #ffffff;
  margin-left: 0;
  border-left: 2px solid #00ff00;
}

.message.ai {
  background: #000000;
  color: #00dd00;
  margin-right: 0;
  border-left: 2px solid #00dd00;
  margin-left: 20px;
}

.message-label {
  font-size: 9px;
  opacity: 0.8;
  margin-bottom: 2px;
  font-weight: 400;
  font-family: 'Courier New', monospace;
  text-transform: uppercase;
}

.typing-indicator {
  background: #000000;
  color: #00ff00;
  padding: 4px 8px;
  border-radius: 0;
  max-width: 80px;
  margin-right: auto;
  margin-left: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
  border-left: 2px solid #00ff00;
  font-family: 'Courier New', monospace;
}

.typing-dots {
  display: flex;
  gap: 2px;
}

.dot {
  width: 3px;
  height: 3px;
  background: #00ff00;
  border-radius: 0;
  animation: typing 1.5s infinite;
}

.dot:nth-child(2) { animation-delay: 0.2s; }
.dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  0%, 60%, 100% { opacity: 0.3; transform: scale(0.8); }
  30% { opacity: 1; transform: scale(1); }
}

@keyframes float {
  0%, 100% { transform: translate(-50%, -50%) translateY(0px); }
  50% { transform: translate(-50%, -50%) translateY(-20px); }
}

/* Features Section */
.features {
  padding: 15rem 0 4rem;
  background: #000000;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: #111111;
  border: 1px solid #222222;
  border-radius: 16px;
  padding: 2rem;
  text-align: left;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.8);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: #60a5fa;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #f1f5f9;
}

.feature-card p {
  color: #cbd5e1;
  line-height: 1.6;
}

/* About Section */
.about {
  padding: 5rem 0;
  background: #000000;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #f1f5f9;
}

.about-content p {
  font-size: 1.25rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
}

.benefits-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.benefits-list li {
  background: #111111;
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 4px solid #60a5fa;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.8);
  color: #ffffff;
}

/* CTA Section */
.cta {
  padding: 5rem 0;
  background: #000000;
  color: white;
}

.cta-section {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.cta-content h3 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: white;
}

.cta-content p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

/* Footer */
.footer {
  background: #000000;
  color: white;
  padding: 3rem 0 1rem;
  border-top: 1px solid #1f2937;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-brand .brand-name {
  color: white;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #374151;
  color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .nav-links {
    display: none;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }

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

  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}


/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

