:root {
    --primary-color: #4272FF;
    --secondary-color: #2C3E50;
    --accent-color: #FF7E42;
    --background-color: #F5F6FA;
    --text-color: #2C3E50;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

header {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 1rem;
    backdrop-filter: blur(5px);
    position: relative;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.logo span {
    font-size: 1.25rem;
    font-weight: bold;
    color: #5ec2dc;
}

.hero {
    min-height: 100vh;
    margin: 0;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: white;
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('ProgressBot.AI_Hero4.png');
    background-size: cover;
    background-position: center;
    border-radius: 0;
    color: white;
}

.hero-content {
    max-width: 800px;
    text-align: left;
    padding: 2rem;
    margin-left: 5%;
    animation: fadeIn 1s ease-out;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    margin-bottom: 1.5rem;
    animation: slideIn 0.8s ease-out;
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    max-width: 600px;
    margin: 0 0 2rem;
    animation: fadeIn 1.2s ease-out;
    line-height: 1.6;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-details {
    padding: 4rem 2rem;
    background-color: white;
}

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

.detail-card {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    animation: fadeIn 0.8s ease-out forwards;
    animation-delay: calc(var(--card-index, 0) * 0.2s);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.detail-card h3 {
    color: #0A4A4B;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.detail-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.detail-card:hover h3::after {
    width: 100%;
}

.detail-card p {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}

.features {
    padding: 4rem 2rem;
    background-color: white;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeIn 0.8s ease-out;
}

.feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 3rem;
}

.feature-card {
    background-color: var(--light-bg);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 2px 4px rgb(0 0 0 / 60%);
    border: 1px solid #879aa6;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: scaleIn 0.6s ease-out forwards;
    animation-delay: calc(var(--card-index, 0) * 0.1s);
    margin: 25px;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 24px rgb(0 0 0 / 60%);
}

.feature-card img {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
    transition: transform 0.4s ease;
}

.feature-card:hover img {
    transform: scale(1.1);
}

.cta {
    text-align: center;
    padding: 4rem 2rem;
    background-color: var(--primary-color);
    color: white;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(74, 144, 226, 0.2);
    margin-top: 2rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    outline: none;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(74, 144, 226, 0.3);
    background-color: var(--accent-color);
    color: white;
}

.cta-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.3);
}

.cta-button.secondary {
    background-color: white;
    color: var(--primary-color);
}

.cta-button.secondary:hover {
    background-color: var(--accent-color);
    color: white;
}

.audio-examples {
    padding: 2rem;
    background-color: var(--background-color);
    text-align: center;
}

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

.audio-card {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 2px 4px rgb(0 0 0 / 60%);
    border: 1px solid #879aa6;
    max-width: 600px;
    margin: 0 auto;
    transition: all 0.3s ease;
    animation: fadeIn 0.6s ease-out forwards;
    animation-delay: calc(var(--card-index, 0) * 0.2s);
}

.audio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgb(0 0 0 / 60%);
}

.audio-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.audio-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 50%;
}

.audio-card h3 {
    margin: 0;
    color: #0A4A4B;
    font-size: 1.2rem;
}

.audio-player {
    width: 100%;
    margin-top: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.audio-card:hover .audio-player {
    transform: scale(1.02);
}

#demoButton {
    display: none !important;
}

footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--secondary-color);
    color: white;
}

.modal,
.modal-content,
.close-button,
#demo-interface,
#conversation,
.input-area,
#startDemo {
    display: none;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    margin: 0;
    padding: 0 5% 0 5%;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
    margin-left: auto;
    padding-right: 5%;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

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

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

.nav-cta {
    background-color: #0A4A4B;
    color: white !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 25px;
    transition: all 0.3s ease !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 74, 75, 0.2);
    background-color: var(--accent-color);
}

.nav-cta::after {
    display: none;
}

.section-header {
    animation: fadeIn 0.8s ease-out;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #294B60;
    font-style: italic;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.6s ease;
}

.section-header:hover h2::after {
    width: 100%;
}

.brand-integration {
    animation: fadeIn 1s ease-out;
    transition: transform 0.3s ease;
    margin-top: 4rem;
    padding: 2rem;
    background-color: var(--background-color);
    border-radius: 10px;
}

.brand-integration:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.brand-integration .section-subtitle {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
}

.footer-nav a {
    color: #666666;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.footer-nav a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.feature-list li {
    transition: transform 0.3s ease;
    position: relative;
    padding-left: 0;
    margin-bottom: 0.5rem;
}

.feature-list li::before {
    display: none;
}

.feature-list li:hover {
    transform: translateX(5px);
}

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

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

@keyframes scaleIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.animate-slide-in {
    animation: slideIn 0.5s ease-out forwards;
}

.animate-scale-in {
    animation: scaleIn 0.4s ease-out forwards;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        margin: 0;
        padding: 1rem;
        border-radius: 0;
    }

    .hero-content {
        padding: 0.5rem;
        margin-left: 0;
        width: 50%;
        max-width: 250px;
        text-align: left;
    }

    .hero h1 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: 1rem;
        max-width: 240px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0;
        max-width: 240px;
    }

    .main-nav {
        padding: 0.5rem;
        flex-direction: column;
        gap: 1rem;
        max-width: 100%;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        gap: 1rem;
        margin-left: 0;
        padding-right: 0;
        flex-wrap: wrap;
        flex-direction: row;
    }

    .nav-links a {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    .nav-cta {
        padding: 0.5rem 1.2rem !important;
        font-size: 0.9rem;
    }

    .hero-details {
        padding: 2rem 1rem;
    }

    .details-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .detail-card {
        padding: 1.5rem;
        margin: 0;
    }

    .detail-card h3 {
        font-size: 1.3rem;
    }

    .detail-card p {
        font-size: 1rem;
    }

    .features, .audio-examples, .cta {
        padding: 2rem 1rem;
    }

    .section-header {
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

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

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 1.5rem;
    }

    .feature-card {
        min-height: auto;
        padding: 2rem;
        gap: 1.2rem;
        margin: 15px;
    }

    .feature-card h3 {
        font-size: 1.2rem;
    }

    .feature-card p, .feature-list li {
        font-size: 0.95rem;
    }

    .audio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .audio-card {
        padding: 1.5rem;
        margin: 15px;
    }

    .audio-header {
        flex-direction: row;
        align-items: center;
        gap: 0.8rem;
    }

    .audio-icon {
        width: 32px;
        height: 32px;
    }

    .audio-card h3 {
        font-size: 1.1rem;
    }

    .audio-card p {
        font-size: 0.95rem;
    }

    .cta {
        padding: 3rem 1rem;
    }

    .cta-content {
        padding: 0 1rem;
    }

    .cta h2 {
        font-size: 1.8rem;
    }

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

    .cta-description {
        font-size: 0.95rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        width: auto;
        min-width: 160px;
        max-width: 200px;
    }

    .brand-integration {
        margin: 2rem 1rem;
        padding: 1.5rem;
    }

    .brand-integration .section-subtitle {
        font-size: 1rem;
        padding: 0;
    }

    footer {
        padding: 2rem 1rem;
    }

    .footer-content {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .footer-nav {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }

    .footer-nav a {
        font-size: 0.9rem;
    }

    .feature-list {
        list-style: none;
        padding-left: 0;
    }

    .feature-list li {
        position: relative;
        padding-left: 0;
        margin-bottom: 0.8rem;
        text-align: left;
    }

    .feature-list li::before {
        display: none;
    }

    .logo span {
        font-size: 1.25rem;
    }
}

/* Additional breakpoint for very small devices */
@media (max-width: 480px) {
    .hero-content {
        width: 55%;
        max-width: 220px;
        padding: 0.5rem 0;
    }

    .hero h1 {
        max-width: 210px;
    }

    .hero-subtitle {
        max-width: 210px;
    }

    .nav-links {
        flex-direction: row;
        align-items: center;
        gap: 0.8rem;
    }

    .nav-links a {
        width: auto;
        text-align: center;
    }

    .cta-button {
        padding: 0.7rem 1.2rem;
        font-size: 0.95rem;
        min-width: 140px;
        max-width: 180px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .detail-card, .feature-card, .audio-card {
        padding: 1.2rem;
    }

    .hero-content {
        width: 85%;
    }
}

/* Remove all Vapi-related styles */
#demoButton,
.vapi-demo-container,
.vapi-widget-container,
.vapi-btn,
.vapi-btn-pill,
.hero-cta {
    display: none !important;
}

.privacy-content {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
}

/* Contact Form Styles */
.contact-form {
    padding: 4rem 2rem;
    background-color: white;
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--background-color);
    border-radius: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(66, 114, 255, 0.1);
}

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

.contact-form .cta-button {
    width: 100%;
    margin-top: 1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form .cta-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 114, 255, 0.2);
}

.contact-form .email-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.contact-form .email-link:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

@media (max-width: 768px) {
    .contact-form {
        padding: 3rem 1rem;
    }

    .contact-form-container {
        padding: 1.5rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.7rem;
        font-size: 0.95rem;
    }

    .contact-form .cta-button {
        padding: 0.8rem;
        font-size: 1rem;
    }
}

.form-disclaimer {
    font-size: 0.7rem;
    color: #999;
    margin-top: 1.5rem;
    line-height: 1.4;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .form-disclaimer {
        font-size: 0.65rem;
        padding: 0 0.5rem;
        margin-top: 1.25rem;
    }
}