/* MailAssistent Stylesheet */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
/* Language Selector */
.language-selector {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.custom-select {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    min-width: 140px;
}

.custom-select:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-1px);
}

.selected-language {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    justify-content: center;
}

.flag-icon {
    width: 24px;
    height: 16px;
    margin-right: 8px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 2px;
}


.language-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    overflow: hidden;
}

.custom-select.open .language-dropdown {
    display: block;
}

.language-option {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.language-option:hover {
    background-color: #f8f9fa;
}

.hero {
    background: #e3f0fa;
    color: #212529;
    padding: 24px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0;
    color: #4682b4;
    opacity: 0.9;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}
.hero-logo {
    height: 80px;
    width: auto;
    margin-bottom: 4px;
}
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: #db3434;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(219, 52, 52, 0.15);
    opacity: 0.8;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(219, 52, 52, 0.25);
    opacity: 1;
}

/* Client Testimonials */
.testimonials {
    padding: 20px 0;
    background: #f8f9fa;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.testimonial {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.07);
    position: relative;
    border-left: 5px solid #4682b4;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 30px;
    font-size: 4rem;
    color: #4682b4;
    opacity: 0.2;
    font-family: serif;
}

.testimonial-text {
    font-style: italic;
    color: #495057;
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.testimonial-text h3 {
    font-style: normal;
    color: #212529;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.testimonial-text ul {
    text-align: left;
    margin-top: 15px;
    padding-left: 20px;
}

.testimonial-text li {
    margin-bottom: 10px;
    color: #495057;
}

.testimonial-logo {
    height: 30px;
    width: auto;
}

.testimonial-author {
    font-weight: 600;
    color: #db3434;
    font-size: 1.1rem;
}

.testimonial-company {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.testimonial .author-info {
    margin-top: 10px;
    color: #db3434;
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 15px;
}

.testimonial .author-info strong {
    font-weight: 600;
    color: #db3434;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.testimonial-footer .testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.testimonial-footer .testimonial-btn {
    margin-top: 0;
}

/* Solution Intro */
.solution-intro {
    padding: 20px 0;
    background: #f8f9fa;
    text-align: center;
}


/* Solution Section */
.solution-section {
    padding: 0 0 20px 0;
    background: #f8f9fa;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 0;
}

@media (max-width: 900px) {
    .solution-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .solution-grid {
        grid-template-columns: 1fr;
    }
}

.solution-card {
    background: white;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    border-top: 4px solid #4682b4;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(70,130,180,0.15);
}

.solution-icon {
    font-size: 2rem;
    margin-bottom: 14px;
    width: 52px;
    height: 52px;
    background: #e3f0fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 14px;
}

.solution-card ul {
    padding-left: 18px;
    margin: 0;
}

.solution-card li {
    color: #495057;
    margin-bottom: 8px;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Agitate Banner */
.agitate-banner {
    margin-top: 20px;
    background: linear-gradient(135deg, #4682b4, #2c5f8a);
    color: white;
    text-align: center;
    padding: 30px 40px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(70, 130, 180, 0.3);
}

.agitate-banner-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.agitate-banner-text {
    font-size: 1.15rem;
    opacity: 0.95;
    line-height: 1.5;
}

/* AI Development Section */
.ai-development {
    padding: 20px 0;
    background: #f8f9fa;
}

.ai-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.ai-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
    border: 1px solid #e3f0fa;
    position: relative;
    overflow: hidden;
}

.ai-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #db3434, #4682b4);
}

.ai-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.ai-card .ai-icon {
    width: 60px;
    height: 60px;
    background: #e3f0fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4682b4;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.ai-card h3 {
    color: #212529;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.ai-card p {
    color: #6c757d;
    line-height: 1.6;
}

/* Responsive AI Section */
@media (max-width: 768px) {
    .ai-grid {
        grid-template-columns: 1fr;
    }
}

/* Problem List */
.problem-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .problem-list {
        grid-template-columns: 1fr;
    }
}

.problem-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: white;
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    border-left: 4px solid #db3434;
}

.problem-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.problem-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: #e3f0fa;
    border-radius: 50%;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.problem-item p {
    color: #212529;
    font-size: 1.05rem;
    font-weight: 500;
    margin: 0;
}

.problem-item ul {
    padding-left: 20px;
    margin: 0;
}

.problem-item ul li {
    color: #6c757d;
    margin-bottom: 5px;
    line-height: 1.5;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: #212529;
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: #6c757d;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .language-selector {
        top: 15px;
        right: 15px;
    }
    
    .selected-language {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .flag-icon {
        width: 20px;
        height: 13px;
        margin-right: 6px;
        object-fit: cover;
        border-radius: 2px;
    }
    
    .hero h2 {
        font-size: 1.2rem;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero-logo {
    height: 60px;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .hero-buttons .cta-button {
        width: 100%;
        max-width: 300px;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    .testimonial-logo {
        height: 30px;
    }
}

a {
    color: #4682b4;
    transition: color 0.2s;
}
a:hover, a:focus {
    color: #db3434;
}

/* FAQ Section */
.faq-section {
    padding: 20px 0;
    background: #f8f9fa;
}

.faq-category {
    margin-bottom: 24px;
}

.faq-category-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #4682b4;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid #e3f0fa;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 600;
    color: #212529;
    font-size: 1rem;
    transition: background 0.2s;
    user-select: none;
}

.faq-question:hover {
    background: #f0f7ff;
}

.faq-icon {
    font-size: 1.4rem;
    font-weight: 400;
    color: #4682b4;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 12px;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding: 0 20px 16px 20px;
    color: #495057;
    line-height: 1.6;
    font-size: 0.97rem;
}

.faq-item.open .faq-answer {
    display: block;
}

.faq-answer p {
    margin-bottom: 10px;
}

.faq-answer ul, .faq-answer ol {
    padding-left: 20px;
    margin-bottom: 10px;
}

.faq-answer li {
    margin-bottom: 6px;
}

.contact {
    padding: 20px 0;
    background: #f8f9fa;
}

.cta-block {
    text-align: center;
    padding: 0 0 10px;
}

.cta-heading {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #212529;
    margin-top: 0;
    margin-bottom: 10px;
}

.cta-sub {
    font-size: 1.15rem;
    color: #4682b4;
    margin-bottom: 24px;
    font-weight: 500;
}

}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

.contact-info h3 {
    color: #212529;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-info p {
    color: #6c757d;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #495057;
}

.contact-item strong {
    color: #212529;
    min-width: 100px;
}

.contact-item a {
    color: #db3434;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-item a:hover {
    color: #aa0000;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.07);
    border-left: 5px solid #db3434;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #212529;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e3f0fa;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    color: #212529;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #db3434;
    box-shadow: 0 0 0 3px rgba(219, 52, 52, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: #db3434;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(219, 52, 52, 0.3);
    width: 100%;
    position: relative;
}

.submit-btn:hover {
    background: #aa0000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(219, 52, 52, 0.4);
}

.submit-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-loading {
    display: none;
}

.submit-btn.loading .btn-text {
    display: none;
}

.submit-btn.loading .btn-loading {
    display: inline;
}

/* reCAPTCHA styling */
.g-recaptcha {
    margin-bottom: 20px;
}

/* Responsive Contact Form */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .contact-info h3 {
        font-size: 1.3rem;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .contact-item strong {
        min-width: auto;
    }
}

/* Footer */
.site-footer {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 24px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    height: 36px;
    width: auto;
}

.site-footer p {
    margin: 0;
    font-size: 0.85rem;
    color: #6c757d;
}
