/* AMP Marketing Intelligence - Main Stylesheet */
/* Color Palette: Dual Brands - Primary Blue (#0071B9) & Red (#CA1F2C) */

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

body {
    font-family: 'Karla', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header */
header {
    background-color: #0071B9;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 50px;
    width: auto;
}

nav {
    display: flex;
    gap: 2rem;
}

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

.nav-link:hover {
    color: #CA1F2C;
}

/* Hero Section */
.hero {
    background: #CA1F2C;
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero .hero-description {
    font-family: 'Karla', sans-serif;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background-color: #F0F4FF;
}

.features h2 {
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 600;
    color: #0071B9;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #CA1F2C;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 61, 165, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-family: 'Montserrat', sans-serif;
    color: #0071B9;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Form Section */
.form-section {
    padding: 4rem 0;
    background-color: #fff;
}

.form-section h2 {
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #0071B9;
}

.form-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

form {
    max-width: 700px;
    margin: 0 auto;
    background: #F0F4FF;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-top: 5px solid #0071B9;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #0071B9;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #B3D9F2;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Karla', sans-serif;
    transition: border-color 0.3s ease;
    background-color: #fff;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #CA1F2C;
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.12);
}

.form-group small {
    display: block;
    margin-top: 0.25rem;
    color: #666;
    font-size: 0.875rem;
}

/* Locked brand badge with logos */
.brand-locked {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(90deg, #0071B9 0%, #0089D9 100%);
    color: #fff;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    border: 2px solid #0071B9;
}

.brand-logos {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.brand-logo-img {
    height: 35px;
    width: auto;
    object-fit: contain;
}

.plus-sign {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0071B9;
}

.brand-text {
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.3;
}

/* Request Type Toggle */
.request-type-toggle {
    display: flex;
    gap: 0;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid #0071B9;
    width: 100%;
}

.toggle-btn {
    flex: 1;
    padding: 0.7rem 1rem;
    background: #fff;
    color: #0071B9;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    letter-spacing: 0.2px;
}

.toggle-btn:first-child {
    border-right: 1px solid #0071B9;
}

.toggle-btn.active {
    background: #0071B9;
    color: #fff;
}

.toggle-btn:not(.active):hover {
    background: #f0f4ff;
}

/* DMA mode — purple left border */
#dmaNameGroup,
#dmaLocationsGroup {
    border-left: 3px solid #7B2FBE;
    padding-left: 0.75rem;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: #CA1F2C;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
    background-color: #A01822;
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Thank You Message */
.thank-you-message {
    max-width: 900px;
    margin: 3rem auto;
    background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
    padding: 4rem 3rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 61, 165, 0.15);
    border: 3px solid #0071B9;
    animation: slideDown 0.6s ease-out;
}

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

.success-icon {
    width: 120px;
    height: 120px;
    background-color: #CA1F2C;
    color: white;
    font-size: 4.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    animation: scaleIn 0.5s ease-out 0.2s both;
    box-shadow: 0 8px 20px rgba(255, 102, 0, 0.35);
}

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

.thank-you-message h3 {
    font-family: 'Montserrat', sans-serif;
    color: #0071B9;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.thank-you-message p {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.thank-you-message a {
    color: #CA1F2C;
    text-decoration: none;
    font-weight: 600;
}

.thank-you-message a:hover {
    text-decoration: underline;
}

.new-request-btn {
    margin-top: 2.5rem;
    padding: 1rem 3rem;
    background-color: #0071B9;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 61, 165, 0.3);
}

.new-request-btn:hover {
    background-color: #005A9C;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 61, 165, 0.4);
}

/* Footer */
footer {
    background-color: #0071B9;
    color: white;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-left p {
    color: #cce0ff;
    font-size: 0.9rem;
}

.footer-right {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #CA1F2C;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .features h2,
    .form-section h2 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    form {
        padding: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

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

    nav {
        flex-direction: column;
        gap: 0.5rem;
    }

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

    .thank-you-message {
        margin: 2rem auto;
        padding: 2.5rem 1.5rem;
    }

    .success-icon {
        width: 100px;
        height: 100px;
        font-size: 3.5rem;
    }

    .thank-you-message h3 {
        font-size: 2rem;
    }

    .thank-you-message p {
        font-size: 1.1rem;
    }

    .new-request-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}
