/* Reset and Base Styles */
:root {
    /* Primary Brand Colors */
    --primary-blue: #667eea;
    --primary-purple: #764ba2;
    --accent-cyan: #00d4ff;
    --accent-teal: #0099cc;

    /* Neutral Colors */
    --text-dark: #333333;
    --text-medium: #666666;
    --text-light: #f8f9fa;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;

    /* Semantic Colors */
    --success: #4CAF50;
    --warning: #ff9800;
    --error: #f44336;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-teal) 100%);
    --gradient-accent: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-hero: linear-gradient(135deg, rgba(0, 123, 255, 0.3) 0%, rgba(0, 212, 255, 0.4) 25%, rgba(0, 0, 0, 0.3) 50%, rgba(138, 43, 226, 0.3) 75%, rgba(0, 123, 255, 0.3) 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Add scroll padding to account for fixed header */
section[id] {
    scroll-margin-top: 90px;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.logo-img {
    height: 40px;
    width: auto;
    filter: brightness(0); /* Makes logo black for header */
}

.footer .logo-img {
    filter: brightness(0) invert(1); /* Makes logo white for footer */
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #667eea;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #667eea;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* New Hero Section Styles */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.2) saturate(1.3);
}

.hero-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(0, 123, 255, 0.3) 0%,
        rgba(0, 212, 255, 0.4) 25%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(138, 43, 226, 0.3) 75%,
        rgba(0, 123, 255, 0.3) 100%);
    backdrop-filter: blur(0.5px);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: white;
    color: #667eea;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: #333;
}

/* Product Sections */
.products {
    padding: 5rem 0;
    background: var(--bg-light);
}

/* Adjust scroll position for products anchor link */
section#products {
    scroll-margin-top: 40px;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.product-section {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.product-section:hover {
    transform: translateY(-5px);
}

.product-content {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    padding: 2rem;
    color: white;
    gap: 1.5rem;
}

.product-info {
    text-align: left;
}

.product-info .btn-outline {
    margin-left: auto;
    display: block;
    width: fit-content;
}

.product-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.product-description {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    opacity: 0.9;
}

.product-details {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
    line-height: 1.6;
}

.product-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 0.5rem;
}

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

/* ZapCode specific styling - darker background */
.product-section.zapchat {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.product-section.zapbrain {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.product-section.zapflow {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.product-section.zapcreate {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.product-section.zapcode {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.product-section.zapcode .product-title,
.product-section.zapcode .product-description,
/* Grid layout for product sections */
.product-section.zapchat { grid-area: 1 / 1 / 2 / 2; }
.product-section.zapbrain { grid-area: 1 / 2 / 2 / 3; }
.product-section.zapflow { grid-area: 2 / 1 / 3 / 3; }
.product-section.zapcreate { grid-area: 3 / 1 / 4 / 2; }
.product-section.zapcode { grid-area: 3 / 2 / 4 / 3; }

/* Solutions Section */
.solutions {
    position: relative;
    padding: 6rem 0 2rem; /* Further adjusted bottom padding to reduce space */
    background: transparent;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.solutions,
.how-it-works,
.contact,
.faq {
    isolation: isolate;
}

.solutions-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.solutions-background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.solutions-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.solutions-background-video,
.how-it-works-background-video,
.contact-background-video,
.faq-background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8); /* Adjust brightness to make it visible */
    opacity: 0.5; /* Adjust opacity */
}

.animated-statement {
    text-align: center;
    margin: 6rem 0 4rem 0;
    padding: 4rem 2rem;
    overflow: hidden;
    position: relative;
}

.statement-text {
    font-size: 3rem;
    font-family: 'Arial', sans-serif;
    font-weight: 600;
    color: #667eea;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    animation: fadeInSlideUp 2.5s ease-out;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 15px rgba(102, 126, 234, 0.3);
    line-height: 1.2;
    margin: 0;
}

.solutions .section-title, .solutions .section-subtitle,
.how-it-works .section-title, .how-it-works .section-subtitle,
.contact .section-title, .contact .section-subtitle,
.faq .section-title, .faq .section-subtitle {
    color: var(--text-dark);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.solution-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: rgba(248, 249, 250, 0.6);
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.solution-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.solution-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.solution-card p {
    color: var(--text-medium);
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    position: relative;
    padding: 6rem 0 8rem;
    background: transparent;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.how-it-works-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.how-it-works-background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.how-it-works-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.step-card {
    text-align: center;
    padding: 2rem;
    background: rgba(248, 249, 250, 0.6);
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.step-card::before {
    content: attr(data-step);
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--primary-blue);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.step-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.step-card p {
    color: var(--text-medium);
    line-height: 1.6;
}

.cta-container {
    text-align: center;
    margin-top: 3rem;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: linear-gradient(135deg, #764ba2 0%, #ffffff 100%);
    color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-text h2 {
    color: white;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

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

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image {
    text-align: center;
}

/* Contact Section */
.contact {
    position: relative;
    padding: 3rem 0;
    background: transparent;
    overflow: hidden;
}

.contact-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.contact-background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.calendly-inline-widget {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-info-wrapper {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-info-item i {
    /* Removed background circle for a cleaner look */
    color: var(--text-dark);
    font-size: 2rem; /* Increased size for visibility */
    width: 40px; /* Allocate space for alignment */
    text-align: center;
}

.contact-form-title-wrapper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem; /* Increased bottom margin */
}

.contact-form-title-wrapper i {
    color: var(--text-dark);
    font-size: 2rem;
    width: 40px;
    text-align: center;
    flex-shrink: 0; /* Prevent icon from shrinking */
}

.contact-form-title-wrapper h4 {
    margin: 0;
    font-weight: 600;
}

.phone-back-form {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: nowrap;
}

.phone-back-form .btn-primary-form {
    white-space: nowrap;
    flex-shrink: 0;
}

/* Styles for intl-tel-input */
.phone-back-form .iti {
    /* Let the flex container manage the width */
    flex-grow: 1;
    max-width: 300px; /* A phone number input doesn't need to be huge */
}

.iti {
    width: 100%; /* Ensure other instances are full-width by default */
}

.phone-input-large:focus {
    outline: none;
    border-color: #764ba2;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.email-link {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}


.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea,
.iti input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.iti input:focus {
    outline: none;
    border-color: #667eea;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact .contact-form {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.main-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.main-contact-grid .full-width {
    grid-column: 1 / -1;
}

.main-contact-grid .btn-primary-form {
    grid-column: 1 / -1;
}
 
.btn-primary-form {
    background: var(--primary-blue);
    color: white;
    border: 2px solid var(--primary-blue);
    border-radius: 50px;
    padding: 12px 30px;
}

/* FAQ Section */
.faq {
    position: relative;
    min-height: 100vh;
    padding: 2rem 0;
    background: transparent;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.faq-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.faq-background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faq-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.faq-question {
    padding: 1.5rem 2rem;
    background: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(102, 126, 234, 0.05);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
}

.faq-toggle {
    font-size: 1.5rem;
    color: #667eea;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: rgba(102, 126, 234, 0.02);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 1.5rem;
}

.faq-answer p {
    margin: 1rem 0 0 0;
    color: #666;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Additional Page Styles */
.privacy-page, .refund-page, .subscription-page, .terms-page {
    padding-top: 8rem;
    padding-bottom: 5rem;
    background: #f8f9fa;
}

.privacy-content, .refund-content, .subscription-content, .terms-content {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-section, .refund-section, .subscription-section, .terms-section {
    background: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.privacy-section:hover, .refund-section:hover, .subscription-section:hover, .terms-section:hover {
    transform: translateY(-5px);
}

.privacy-section h3, .refund-section h3, .subscription-section h3, .terms-section h3 {
    color: #667eea;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.privacy-section p, .refund-section p, .terms-section p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

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

.refund-list li {
    padding: 8px 0;
    color: #666;
    position: relative;
    padding-left: 25px;
}

.refund-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

.refund-process {
    list-style: none;
    padding: 0;
    counter-reset: refund-counter;
}

.refund-process li {
    padding: 10px 0;
    color: #666;
    position: relative;
    padding-left: 40px;
    counter-increment: refund-counter;
}

.refund-process li::before {
    content: counter(refund-counter);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: #667eea;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
}

.contact-link {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #764ba2;
}

/* Contact Page Specific Styles */
.contact-page {
    padding: 5rem 0;
    background: #f8f9fa;
}

.contact-page .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
}

.contact-page .contact-info {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-page .contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Design for Additional Pages */
@media (max-width: 768px) {
    .privacy-section, .refund-section, .terms-section {
        padding: 1.5rem;
    }
    
    .contact-page .contact-content {
        grid-template-columns: 1fr;
    }
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #667eea;
}

.footer-section .logo-img {
    height: 30px;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #ccc;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #667eea;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

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

    .product-content {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 2rem;
    }

    .product-info {
        padding-right: 0;
        margin-bottom: 0;
        text-align: center;
    }

    .product-visual {
        order: -1;
        margin-bottom: 1rem;
    }

    .chat-input-area {
        flex-direction: column;
        gap: 8px;
    }

    .chat-submit-btn {
        align-self: flex-end;
        padding: 6px 12px;
        font-size: 12px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-section:first-child {
        grid-column: 1 / -1; /* Make the logo section span full width */
    }

    .footer-bottom {
        text-align: center;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    /* Improve feature alignment on mobile */
    .product-features {
        justify-content: center;
        flex-wrap: wrap;
    }

    .feature {
        flex: 0 0 45%;
        text-align: center;
        justify-content: center;
    }

    /* --- Mobile Grid Layouts --- */
    /* Ensure Products, Solutions, and How-It-Works sections are single-column on mobile */
    .products-grid,
    .main-contact-grid,
    .solutions-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    /* Reset the complex grid-area layout for products on mobile to allow stacking */
    .products-grid .product-section {
        grid-area: auto;
    }
}

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

    .phone-back-form .btn-primary-form {
        padding: 12px 15px; /* Make button narrower to fit on mobile */
    }

    .section-title {
        font-size: 2rem;
    }

    .product-title {
        font-size: 1.8rem;
    }

    .product-features {
        flex-direction: column;
        gap: 1rem;
    }

    .floating-elements {
        width: 200px;
        height: 200px;
    }

    .element {
        font-size: 3rem;
    }

    /* How It Works responsive for very small screens */
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .step-card {
        padding: 1rem;
        text-align: center;
    }

    .step-number {
        font-size: 2rem;
    }

    .step-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .step-card p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

.browser-window {
    background: #2d3748;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    flex: 1;
}

.browser-header {
    background: #1a202c;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.browser-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.browser-url {
    color: #a0aec0;
    font-size: 14px;
    flex: 1;
}

.browser-content {
    padding: 20px;
    height: calc(100% - 60px);
    display: flex;
    align-items: center;
}

.automation-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.step.active {
    opacity: 1;
    transform: scale(1.1);
}

.automation-steps .step-number {
    width: 30px;
    height: 30px;
    background: rgba(0, 212, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #00d4ff; /* This was overriding the white color */
}

.step-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00d4ff;
}

.step-text {
    font-size: 12px;
    color: #a0aec0;
    text-align: center;
}

.carousel-track {
    display: flex;
    animation: rotate-logos 15s linear infinite;
    gap: 20px;
}

.logo-item {
    flex: 0 0 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 24px;
    color: #00d4ff;
}

.logo-item:hover {
    transform: translateY(-5px) scale(1.1);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3);
}

@keyframes rotate-logos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.cursor {
    display: inline-block;
    width: 2px;
    height: 18px;
    background: #00d4ff;
    color: #00d4ff;
    opacity: 1;
    vertical-align: text-bottom;
    margin: 0;
    padding: 0;
}

@keyframes fadeInSlideUp {
    0% {
        opacity: 0;
        transform: translateY(60px);
    }
    60% {
        opacity: 0.8;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.processes .framer-1hm2adr-container ul li,
.processes .framer-1pum39n-container ul li {
    flex-shrink: 0;
}

.processes .framer-1hm2adr-container ul,
.processes .framer-1pum39n-container ul {
    flex-shrink: 0; /* Prevents the UL from shrinking */
    gap: 60px; /* Adds space between the duplicated content blocks */
    animation: scroll-processes 60s linear infinite;
}

/* Pause carousel on hover */
.processes .framer-1hm2adr-container ul:hover,
.processes .framer-1pum39n-container:hover ul {
    animation-play-state: paused;
}

@keyframes scroll-processes {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Center align the two headers in the processes section */
.framer-1wy324o .framer-ctdu0i,
.framer-eljbd2 .framer-y232km {
    padding-bottom: 2rem;
    align-items: center;
}

/* --- 1920x1080 Screen Optimizations --- */
@media (max-width: 1920px) {
    /* Reduce base font size for smaller screens, affecting all rem units */
    html {
        font-size: 81.25%; /* 13px if base is 16px */
    }

    /* Reduce vertical padding on key sections */
    .products {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    /* Reduce section header sizes */
    .section-title {
        font-size: 2.1rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* Reduce product card font sizes */
    .product-title {
        font-size: 1.5rem;
    }
    .product-description {
        font-size: 1rem;
    }
    .product-details {
        font-size: 0.95rem;
    }

    /* Adjust Calendly widget height to fit on 1080p screens */
    .calendly-inline-widget {
        height: 680px !important;
    }
}
