:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary-color: #10b981;
    --accent-color: #f97316;
    --success-color: #22c55e;
    --warning-color: #eab308;
    --error-color: #ef4444;
    --dark-color: #0f172a;
    --light-color: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 1rem;
    
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    color: var(--gray-700);
    background-color: var(--light-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: var(--light-color);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--dark-color);
}

.logo img {
    height: 75px;
    width: auto;
    margin-right: 0.5rem;
}

.logo span {
    font-weight: 600;
    font-size: 2rem;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
    padding: 0.5rem 0;
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--primary-color);
}

.nav-cta {
    background-color: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1rem !important;
    border-radius: var(--border-radius-md);
    transition: var(--transition);
}

.nav-cta:hover {
    background-color: var(--primary-dark);
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 7rem 2rem;
    position: relative;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--gray-600);
    max-width: 600px;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
    width: 100%;
    margin-top: 1rem;
}

.hero-image {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-md);
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    transition: var(--transition);
}

.primary {
    background-color: var(--primary-color);
    color: white;
}

.primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.secondary {
    background-color: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.secondary:hover {
    background-color: var(--gray-100);
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-illustration {
    position: relative;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-illustration i {
    position: absolute;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.fa-code {
    top: 30%;
    left: 15%;
    animation: float 3s ease-in-out infinite;
}

.fa-robot {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: var(--primary-dark);
    animation: pulse 2s ease-in-out infinite;
}

.fa-check-circle {
    bottom: 30%;
    right: 15%;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Section Styling */
.section-padding {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    display: inline-block;
    padding: 0.25rem 1rem;
    border-radius: var(--border-radius-sm);
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--gray-500);
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    margin-bottom: 1.5rem;
}

/* Problem Cards */
.problem-container {
    display: flex;
    justify-content: space-between;
    margin-top: 2.5rem;
    gap: 1.5rem;
}

.problem-card {
    flex: 1;
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.problem-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
}

.problem-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.problem-card h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

/* Features Section */
.features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-card {
    flex: 1;
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.code-preview {
    background-color: var(--gray-800);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    overflow-x: auto;
    max-width: 700px;
    margin: 0 auto;
}

.code-preview pre {
    font-family: "Courier New", monospace;
    color: var(--gray-200);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* How It Works Section */
.workflow-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.workflow-step {
    position: relative;
    background-color: white;
    padding: 2.5rem 1.5rem 1.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    height: 500px; /* Increased height */
    perspective: 1000px;
}

.workflow-step-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.workflow-step:hover .workflow-step-inner {
    transform: rotateY(180deg);
}

.workflow-step-front,
.workflow-step-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

.workflow-step-back {
    transform: rotateY(180deg);
    background-color: white;
    border-radius: var(--border-radius-md);
    padding: 0.5rem; /* Reduced padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.workflow-step-back img {
    width: 100%;
    height: 85%; /* Increased height percentage */
    object-fit: contain;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    border: 1px solid #ddd;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.workflow-step-back p {
    margin: 0;
    font-size: 1rem;
    color: var(--dark-color);
    text-align: center;
    padding: 0.5rem;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    font-size: 1.2rem;
    z-index: 2;
}

.step-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
}

.step-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.workflow-step h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

/* Approach Section */
.approach-container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.approach-card {
    flex: 1;
    min-width: 250px;
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.approach-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.approach-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
}

.approach-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.approach-card h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

/* Use Cases Section */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.use-case-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.use-case-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
}

.use-case-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.use-case-card h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

/* Roadmap Section */
.roadmap-container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.roadmap-phase {
    flex: 1;
    min-width: 250px;
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

.roadmap-phase:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.phase-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--gray-200);
    color: var(--gray-700);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.25rem 1rem;
    border-radius: 20px;
}

.roadmap-phase.current .phase-badge {
    background-color: var(--primary-light);
    color: white;
}

.roadmap-phase h3 {
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    text-align: center;
    margin-top: 0.5rem;
}

.roadmap-phase ul {
    list-style: none;
}

.roadmap-phase ul li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.roadmap-phase ul li i {
    margin-right: 0.8rem;
    font-size: 1.1rem;
}

.fa-check-circle {
    color: var(--success-color);
}

.fa-clock {
    color: var(--warning-color);
}

.fa-hourglass-half {
    color: var(--gray-400);
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--gray-100);
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin: 0;
}

.faq-toggle {
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: var(--gray-600);
}

/* Contact Section */
.contact-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.contact-form {
    flex: 2;
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-info {
    flex: 1;
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-right: 1rem;
}

.early-access-benefit {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.early-access-benefit h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.early-access-benefit ul {
    list-style: none;
}

.early-access-benefit ul li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.early-access-benefit ul li i {
    color: var(--success-color);
    margin-right: 0.8rem;
}

/* Footer */
footer {
    background-color: var(--gray-800);
    color: var(--gray-300);
    padding: 4rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.footer-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 32px;
    width: auto;
    margin-right: 0.5rem;
}

.footer-logo p {
    color: var(--gray-400);
    margin-top: 1rem;
}

.footer-links h4,
.footer-social h4 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--gray-400);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero {
        padding: 4rem 1rem;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-image {
        margin-top: 1.5rem;
    }
    
    .features, 
    .problem-container,
    .approach-container {
        flex-direction: column;
    }
    
    .feature-card,
    .problem-card,
    .approach-card {
        max-width: 500px;
        margin: 0 auto 1.5rem;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .workflow-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle-label {
        display: block;
        padding: 1rem;
        position: absolute;
        top: 0;
        right: 0;
        cursor: pointer;
    }
    
    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        display: block;
        background: var(--dark-color);
        height: 2px;
        width: 25px;
        position: relative;
    }
    
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        content: '';
        position: absolute;
    }
    
    .nav-toggle-label span::before {
        bottom: 8px;
    }
    
    .nav-toggle-label span::after {
        top: 8px;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        height: 0;
        overflow: hidden;
        transition: height 0.35s ease;
    }
    
    .nav-toggle:checked ~ nav {
        height: 280px;
        box-shadow: var(--shadow-md);
    }
    
    nav ul {
        flex-direction: column;
        padding: 1rem 0;
    }
    
    nav ul li {
        margin: 0.5rem 0;
        text-align: center;
    }
    
    .nav-cta {
        display: inline-block;
        margin-top: 0.5rem;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 3rem 1rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
}

/* HubSpot Form Styling */
.hubspot-form-container {
    flex: 2;
    /* This maintains the 2/3 ratio from your original CSS */
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
}

/* Match form styling to existing site design */
.hs-form {
    font-family: 'Poppins', sans-serif !important;
}

/* Make sure the form fits within its container */
.hs-form-frame {
    width: 100%;
}

/* Input fields */
.hs-form input[type="text"],
.hs-form input[type="email"],
.hs-form input[type="tel"],
.hs-form textarea {
    width: 100% !important;
    padding: 15px !important;
    border-radius: 6px !important;
    border: 1px solid #e0e0e0 !important;
    margin-bottom: 15px !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 16px !important;
}

/* Labels/placeholders */
.hs-form label {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 400 !important;
}

/* Submit button */
.hs-form input[type="submit"] {
    display: inline-block !important;
    padding: 15px 30px !important;
    background-color: #4a6cf7 !important;
    /* Match your primary button color */
    color: #fff !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 16px !important;
    text-align: center !important;
}

.hs-form input[type="submit"]:hover {
    background-color: #3955d8 !important;
    /* Slightly darker on hover */
    transform: translateY(-2px) !important;
}

/* Error messages */
.hs-error-msg {
    color: #f44336 !important;
    font-size: 14px !important;
    margin-top: -10px !important;
    margin-bottom: 10px !important;
}

@media (max-width: 992px) {
    .hubspot-form-container {
        flex: 1 0 100%;
        /* Take full width on mobile */
        margin-bottom: 2rem;
        /* Add space below before the benefits section */
    }

    .contact-info {
        flex: 1 0 100%;
        /* Take full width on mobile */
    }
}

.updated-hero {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 6rem 2rem 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 8rem;
  }
  
  .hero-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    flex-wrap: wrap;
    gap: 2rem;
  }
  
  .hero-left {
    flex: 2;
    min-width: 300px;
    text-align: left;
  }
  
  .hero-right {
    flex: 1;
    min-width: 180px;
    display: flex;
    justify-content: flex-end;
  }
  
  .hero-right img {
    max-width: 250px;
    height: auto;
  }
  
  .hero-screenshot {
    margin-top: 3rem;
    max-width: 900px;
    width: 100%;
    text-align: center;
  }
  
  .hero-screenshot img {
    max-width: 100%;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
  }
  