/* flowengine.org Styles */

:root {
  --primary: #2563eb;
  --secondary: #7c3aed;
  --dark: #1e293b;
  --light: #f8fafc;
  --gray: #64748b;
  --light-gray: #e2e8f0;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo h1 {
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 5px;
}

.logo p {
  color: var(--gray);
  font-size: 0.9rem;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: var(--primary);
}

.hero {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  color: white;
  text-align: center;
  padding: 100px 20px;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  background-color: white;
  color: var(--primary);
  padding: 12px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn:hover {
  background-color: transparent;
  color: white;
  border-color: white;
}

.services, .examples, .pricing, .contact {
  padding: 80px 0;
}

.services h2, .examples h2, .pricing h2, .contact h2 {
  text-align: center;
  margin-bottom: 60px;
  font-size: 2rem;
  color: var(--dark);
}

.service-cards, .example-cards, .pricing-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  padding: 30px;
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.card h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.example-cards .card {
  text-align: center;
}

.example-cards .card h3 {
  margin-top: 20px;
}

.result {
  color: var(--primary);
  font-weight: 600;
  margin-top: 10px;
}

.pricing-cards {
  justify-content: center;
}

.pricing-cards .card {
  display: flex;
  flex-direction: column;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 20px 0;
  text-align: center;
}

.pricing-cards .card ul {
  list-style: none;
  margin: 20px 0;
}

.pricing-cards .card ul li {
  padding: 10px 0;
  border-bottom: 1px solid var(--light-gray);
}

.pricing-cards .card ul li:last-child {
  border-bottom: none;
}

.contact {
  background-color: var(--dark);
  color: white;
  text-align: center;
}

.contact .container {
  max-width: 700px;
}

.contact p {
  margin-bottom: 30px;
  font-size: 1.1rem;
}

form {
  display: flex;
  flex-direction: column;
}

form input, form textarea {
  padding: 12px;
  margin-bottom: 15px;
  border: none;
  border-radius: 6px;
}

form input:focus, form textarea:focus {
  outline: 2px solid var(--primary);
}

footer {
  background-color: var(--dark);
  color: white;
  text-align: center;
  padding: 40px 0;
}

footer p {
  margin-bottom: 10px;
}

footer a {
  color: var(--primary);
  text-decoration: none;
}

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

/* Responsive */
@media (max-width: 768px) {
  .hero h2 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  nav ul {
    flex-direction: column;
  }
  
  nav ul li {
    margin: 10px 0;
  }
  
  .service-cards, .example-cards, .pricing-cards {
    flex-direction: column;
    align-items: center;
  }
  
  .card {
    min-width: 100%;
    max-width: 100%;
  }
}/* Service Page Styles */

.service-hero {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    text-align: center;
    padding: 120px 20px 80px;
    margin-top: 60px;
}

.service-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.service-hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 50px;
}

.stat {
    text-align: center;
}

.number {
    font-size: 3rem;
    font-weight: 700;
    color: #f9fafb;
    display: block;
    margin-bottom: 10px;
}

.label {
    font-size: 1rem;
    opacity: 0.9;
}

.problem, .solution, .how-it-works, .use-cases, .pricing, .cta {
    padding: 100px 0;
}

.problem h2, .solution h2, .how-it-works h2, .use-cases h2, .pricing h2, .cta h2 {
    text-align: center;
    color: #1e293b;
    margin-bottom: 60px;
}

.problem p {
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #475569;
    font-size: 1.1rem;
}

.problem-list {
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.problem-list li {
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
    color: #475569;
}

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

.consequences {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 40px auto 0 auto;
}

.consequence {
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.solution-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.solution-item h3 {
    color: #2563eb;
    margin-bottom: 15px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.step {
    display: flex;
    flex-direction: column;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-content h3 {
    color: #1e293b;
    text-align: center;
    margin-bottom: 10px;
}

.step-content p {
    color: #475569;
    text-align: center;
}

.cases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.case {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.case h3 {
    color: #2563eb;
    margin-bottom: 20px;
}

.case ul {
    list-style: none;
    margin: 20px 0;
}

.case li {
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
    position: relative;
    padding-left: 25px;
}

.case li:before {
    content: "✓";
    color: #2563eb;
    position: absolute;
    left: 0;
    font-weight: bold;
}

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

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.package {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.package h3 {
    color: #1e293b;
    margin-bottom: 20px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
    margin: 20px 0;
}

.package p {
    color: #475569;
    margin-bottom: 20px;
}

.package ul {
    list-style: none;
    margin: 30px 0;
}

.package li {
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
}

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

.package .btn {
    margin-top: 20px;
    width: 100%;
}

.cta {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.cta h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

form input, form textarea {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
}

form input {
    height: 50px;
}

form textarea {
    resize: vertical;
}

footer .footer-links {
    margin-top: 20px;
}

footer .footer-links a {
    color: #94a3b8;
    text-decoration: none;
    margin: 0 10px;
}

footer .footer-links a:hover {
    color: #2563eb;
}

@media (max-width: 768px) {
    .service-hero h1 {
        font-size: 2.2rem;
    }
    
    .stats {
        gap: 20px;
    }
    
    .number {
        font-size: 2.5rem;
    }
    
    .problem, .solution, .how-it-works, .use-cases, .pricing, .cta {
        padding: 80px 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .steps, .pricing-grid, .cases {
        grid-template-columns: 1fr;
    }
}
/* Dynamic Navigation Styles */

/* Main Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-item {
    position: relative;
    margin: 0 15px;
}

.nav-item a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: block;
    padding: 20px 0;
}

.nav-item a:hover,
.nav-item.active a {
    color: var(--primary);
}

/* Dropdown Menu */
.has-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.caret {
    font-size: 0.7em;
    transition: transform 0.3s ease;
}

.has-dropdown:hover .caret {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-width: 220px;
    z-index: 1000;
    overflow: hidden;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    padding: 12px 20px;
    border-bottom: 1px solid var(--light-gray);
    display: block;
    color: var(--dark);
}

.dropdown-menu a:hover {
    background-color: var(--light);
    color: var(--primary);
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

/* Breadcrumb Navigation */
.breadcrumb-container {
    background-color: var(--light);
    border-bottom: 1px solid var(--light-gray);
}

.breadcrumb {
    display: flex;
    align-items: center;
    padding: 10px 0;
    font-size: 0.9rem;
    color: var(--gray);
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .separator {
    margin: 0 10px;
    color: var(--gray);
}

/* Mobile Navigation */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Content Links for SEO */
.content-links {
    background-color: var(--light);
    border-left: 4px solid var(--primary);
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.content-links p {
    margin: 0 0 15px 0;
    font-weight: 600;
    color: var(--dark);
}

.content-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.content-links li {
    margin: 10px 0;
}

.content-links a {
    color: var(--primary);
    text-decoration: none;
}

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

@media (max-width: 768px) {
    /* Mobile styles */
    .nav-menu {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 60px);
        background-color: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 20px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-item {
        margin: 15px 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    /* Hide dropdowns on mobile - they'll be displayed as accordion */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        margin-left: 20px;
        border-radius: 0;
    }
    
    .has-dropdown .dropdown-menu {
        display: none;
    }
    
    .has-dropdown.active .dropdown-menu {
        display: block;
    }
}
