
:root {
    --cta: #3B3285;
    --cta-dark: #2A2361;
    --primary: #217E7A;
    --primary-dark: #176561;
    
    --secondary: #7FB3D3;
    --dark: #1C2B3A;
    --light: #F7F9FB;
    --gray: #222222;
    --success: #217E7A; 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600; /*600*/
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

#btn-cta {
    background-color: var(--cta);
    color: white;
}

#btn-cta:hover {
    background-color: var(--cta-dark);
    color: white;
}

/* Header */
header {
    background-color: white;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*padding: 1rem 2rem; original*/
    /*padding: 8px 32px;*/
    padding: 0.5rem 2rem; 

/*height: 86px;*/
/**/
    /*margin: 0;*/
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    width: 52px;
    height: 52px;
}

.logo i {
    margin-right: 0.5rem;
}

.logo img {
    height: inherit;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
    /*vertical-align: middle;*/
    margin-top: auto;
    margin-bottom: auto;
}

nav ul li a {
    color: var(--dark);
font-size: 1.125rem;
    font-weight: 600; /*500*/
    /*vertical-align: middle;*/
}

nav ul li a:hover {
    color: var(--primary);
}

.mobile-nav {
    display: none;
}

.mobile-nav ul {
    font-size: 1.5rem;
    list-style-type: none;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

/* Hero Section */

.hero {
padding: 6rem 0 5rem;
/*    padding: 8rem 0 5rem;*/
background:white;
    /*background: linear-gradient(135deg, #f0f4ff 0%, #e5eeff 100%);*/
/*background: linear-gradient(135deg, #fff5f5 0%, #ffe5e6 100%);*/
/*background: linear-gradient(135deg, #fafafa 0%, #f2f2f2 100%);*/ /*best*/
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 2.75rem; /*3rem;*/
    margin-bottom: 0.65rem; /*1.5rem;*/
    color: var(--dark);
}

.hero-text p {
    font-size: 1.125rem; /*1.125rem;*/
    color: var(--gray);
    margin-bottom: 1rem; /*2rem;*/
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.code-window {
    background-color: var(--dark);
    border-radius: 0.5rem;
    padding: 1.5rem;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.code-header {
    display: flex;
    margin-bottom: 1rem;
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 6px;
}

.code-dot.red {
    background-color: #ff5f56;
}

.code-dot.yellow {
    background-color: #ffbd2e;
}

.code-dot.green {
    background-color: #27c93f;
}

.code-content {
    color: #f8f8f2;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.4;
}

.string {
    color: #f1fa8c;
}

.keyword {
    color: #ff79c6;
}

.function {
    color: #50fa7b;
}

.comment {
    color: #79c6ff;
}

/* Features Section */
.features {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: white;
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    background-color: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--gray);
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background-color: #f1f5f9;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--gray);
}

/* Pricing Section */
.pricing {
    padding: 5rem 0;
background: #F0F2F5;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /*300px, 1fr*/
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background-color: white;
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    position: relative;
}

.featured-badge {
    position: absolute;
    top: 0;
    right: 2rem;
    background-color: var(--primary);
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.25rem 1rem;
    border-radius: 0 0 0.5rem 0.5rem;
}

.pricing-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}


.pricing-card .price {
    font-size: 2.5rem;/*2.5*/
    font-weight: 700;
    margin-bottom: 0;/*1rem;*/
}

.pricing-card .price span {
    font-size: 1.5rem; /*1*/
    font-weight: 400;
    color: var(--gray);
}

.pricing-card .calls {
    font-size: 1.25rem; /*1.125rem;*/
    color: #222222;
    margin-bottom: 0;
}

.pricing-card .price-per-call {
    font-size: 1.0rem;/*0.875rem;*/
    color: #222222;
    margin-bottom: 30px;
    font-style: italic;
}

.pricing-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 0.5rem;
    color: var(--gray);
    display: flex;
    align-items: center;
}

.pricing-features li i {
    color: var(--success);
    margin-right: 0.5rem;
}

.pricing-card .btn {
    width: 100%;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background-color: #f1f5f9;
}

#testimonials-disclaimer {
    font-size: 1.5rem;
    font-weight: 600;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: white;
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
    font-style: italic;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    margin-right: 1rem;
    background-color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 700;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 0;
}

/* Call to Action Section */
.cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.cta .btn {
    background-color: white;
    color: var(--primary);
}

.cta .btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

/* The "For Sale" Modal */            
#modal-container {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

#modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
  max-width: 500px;
  border-radius: 5px;
  text-align: center; /* Center the text and button */
}

#modal-message-text {
  font-size: 1.125rem;
  margin-bottom: 15px;
  display: block; /* Ensure space below the text */
}

#dismiss-modal {
  font-size: 1.125rem;  
  background-color: var(--primary);
  color: white;
  padding: 10px 15px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  font-size: 1em;
}

#dismiss-modal:hover {
  background-color: var(--primary-dark);
}
/* End of The "For Sale" Modal */

/**/
.screenshot-option-card {
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden; /* To contain the rounded corners of the image */
  /*margin: 20px;*/
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional subtle shadow */
  display: flex;
  flex-direction: column;
max-width: 600px;
margin-left: auto;
margin-right: auto;
margin-bottom: 32px;
}

.mobile-card {
  max-width: 350px; /* Limit the width for a mobile-like appearance */

  margin-left: auto;
  margin-right: auto; /* Center the card if it's narrower than its container */
margin-bottom: 32px;
}

/* You might want to adjust the image aspect ratio */
.mobile-card .card-image img {
  /* Example: Maintain a more vertical aspect ratio */
  aspect-ratio: 375 / 812; /* width / height */
  object-fit: cover; /* Ensure the image covers the area without distortion */
  width: 100%;
}

/* Optionally adjust font size for the code if needed */
.mobile-card .card-code {
  font-size: 0.85em;
  padding: 10px;
}

.mobile-card .card-code pre {
  margin: 0;
  padding-bottom: 0;
  overflow-x: auto; /* Add horizontal scroll if wrapping isn't enough */
}

.mobile-card .card-code pre code {
  white-space: pre-wrap;       /* Wrap text that doesn't fit */
  word-break: break-word;      /* Force break long words */
  display: block;             /* Ensure it respects the width */
}

.card-image {
  width: 100%;
}

.card-image img {
  display: block; /* Prevent extra space below image */
  width: 100%;
  height: auto;
}

.card-code {
  background-color: var(--dark);
  padding: 15px;
  font-family: monospace, sans-serif;
  font-size: 0.9em;
  color: #79c6ff;
  white-space: pre-wrap; /* preserve formatting */
}

.card-code pre {
  margin: 0; 
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .screenshot-option-card {
    margin: 15px;
  }
}
/**/


/* Code Box */
.code-example-container {
  border: 1px solid #ccc;
  border-radius: 5px;
  overflow: hidden;
  margin: 20px;
}

.tabs {
  display: flex;
  background-color: #f0f0f0;
  border-bottom: 1px solid #ccc;
  overflow-x: auto; /* Enable horizontal scrolling for many tabs */
}

.tab-button {
  background-color: transparent;
  border: none;
  color: #333;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 0.9em;
  white-space: nowrap; /* Prevent text wrapping */
}

.tab-button.active {
  background-color: #ddd;
  color: #000;
}

.tab-button:hover {
  background-color: #eee;
}

.code-blocks {
  padding: 15px;
  background-color: #282c34; /* Dark background for code */
  color: #f8f8f2; /* Light color for code */
}

.code-block {
  display: none;
  font-family: monospace, sans-serif;
  white-space: pre-wrap; /* Preserve whitespace and allow wrapping */
  font-size: 0.85em;
  line-height: 1.4;
}

.code-block.active {
  display: block;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .tabs {
    font-size: 0.8em;
  }
  .code-blocks {
    padding: 10px;
  }
  .code-block {
    font-size: 0.8em;
  }
}
/* Code Box */

/* Media Queries */
@media (max-width: 1024px) {
    
    nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: white;
        z-index: 101;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: transform 0.3s ease;
        transform: translateX(100%);
    }

    .mobile-nav.active {
        transform: translateX(0);
    }

    .mobile-nav ul {
        flex-direction: column;
        align-items: center;
    }

    .mobile-nav ul li {
        margin: 1rem 0;
    }

    .mobile-nav-close {
        position: absolute;
        top: 2rem;
        right: 2rem;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--dark);
    }
    
    .hero-content {
        flex-direction: column;
    }

    .hero-text {
        text-align: center;
    }

    .hero-btns {
        justify-content: center;
    }

    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 768px) {

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }    
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .hero-btns .btn {
        width: 100%;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .code-window {
        padding: 1rem;
    }

    .code-content {
        font-size: 0.75rem;
    }
}
