:root {
    --primary-color: #FF0000; /* Red from logo */
    --text-color: #000000;
    --bg-color: #FFFFFF;
    --secondary-bg: #F9F9F9;
    --text-light: #666666;
    --white: #FFFFFF;
    --max-width: 1200px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s;
}

ul {
    list-style: none;
}

/* Header & Nav */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 2rem;
}

.logo img {
    height: 50px; /* Increased from 40px */
    width: auto;
    display: block; /* Ensures no extra spacing */
}

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

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn {
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-login {
    color: var(--text-color);
}

.btn-login:hover {
    color: var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #cc0000;
    border-color: #cc0000;
}

/* Hero Section */
.hero {
    padding: 8rem 2rem 3rem; /* Reduced bottom padding */
    text-align: center;
    background: radial-gradient(circle at center, rgba(255,0,0,0.03) 0%, rgba(255,255,255,1) 70%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero h1 span {
    color: var(--primary-color);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

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

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

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--text-color);
    color: var(--text-color);
}

.btn-outline:hover {
    background-color: var(--text-color);
    color: var(--white);
}

/* Flow Builder Preview Section */
.flow-builder-preview {
    padding: 0 2rem 5rem;
    text-align: center;
    background: transparent;
}

.preview-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.flow-builder-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
    display: block;
}

/* Features Section */
.features {
    padding: 5rem 2rem;
    background-color: var(--secondary-bg);
}

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

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-light);
}

/* Info Section (Replaces White Label) */
.info-section {
    padding: 6rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.info-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(90deg, #f0f0f0, #ffffff);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    border: 1px solid #e0e0e0;
    margin-bottom: 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Add a subtle gradient border effect to badge */
.info-badge {
    position: relative;
    background: #fff;
    background-clip: padding-box;
    border: 1px solid transparent;
}
.info-badge::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: -1;
    margin: -1px;
    border-radius: inherit;
    background: linear-gradient(to right, #ddd, #FF0000, #ddd);
    opacity: 0.5;
}

.info-section h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.2;
    color: #0a0a0a; /* Darker black */
}

.info-main-text {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 2.5rem;
    max-width: 800px;
    line-height: 1.7;
}

.info-sub-text {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
    max-width: 700px;
}

.info-sub-text a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
}

.info-footer-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-top: 1rem;
}

/* Contact Section */
.contact-section {
    padding: 5rem 2rem;
    background-color: var(--secondary-bg);
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-block {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 400px;
    width: 90%;
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-icon-wrapper {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background-color: rgba(255, 0, 0, 0.1);
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.success-icon {
    color: var(--primary-color);
    width: 40px;
    height: 40px;
}

.modal-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.modal-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Footer */
footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.footer-logo img {
    height: 30px;
    filter: brightness(0) invert(1); /* Make logo white */
}

.footer-links {
    display: flex;
    justify-content: space-around;
}

.footer-column h4 {
    margin-bottom: 1.5rem;
    color: #aaa;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: var(--white);
    opacity: 0.8;
}

.footer-column ul li a:hover {
    opacity: 1;
}

.copyright {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #888;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .white-label {
        flex-direction: column;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .info-section h2 {
        font-size: 2rem;
    }
    
    .flow-builder-preview {
        padding: 0 1rem 3rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}
