/* Pay After Performance (PAPF) Premium Styles */

:root {
    --google-blue: #4285F4;
    --google-red: #EA4335;
    --google-yellow: #FBBC04;
    --google-green: #34A853;
    --text-primary: #202124;
    --text-secondary: #5F6368;
    --surface-light: #F8F9FA;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

.pap-hero {
    padding: 140px 0 80px;
    background: radial-gradient(circle at 50% -20%, #e8f0fe 0%, #ffffff 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pap-hero .hero-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--google-blue);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.pap-hero .hero-title {
    font-family: 'Google Sans', 'Poppins', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
    line-height: 1.2;
    max-width: 900px;
    margin: 0 auto 24px;
}

.pap-hero .hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
    font-weight: 400;
}

/* Payout Ticker Box */
.payout-ticker-box {
    display: inline-flex;
    padding: 10px 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 60px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    align-items: center;
    gap: 12px;
    max-width: fit-content;
    margin: 0 auto 40px;
}

.ticker-dot {
    width: 10px;
    height: 10px;
    background: var(--google-green);
    border-radius: 50%;
    animation: pulse-green 2s infinite;
}

.ticker-text {
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9rem;
}

@keyframes pulse-green {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(52, 168, 83, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(52, 168, 83, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(52, 168, 83, 0); }
}

/* Metrics Grid Layer */
.pap-metrics {
    padding: 80px 0;
    background: #fff;
}

.metrics-title {
    text-align: center;
    margin-bottom: 50px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.metric-card {
    background: var(--surface-light);
    padding: 32px;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid transparent;
}

.metric-card:hover {
    background: #fff;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: #eee;
}

.metric-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    display: inline-block;
    padding: 12px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.04);
}

.metric-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.metric-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9375rem;
}

/* FAQ Section Refined */
.faq-section {
    padding: 100px 0;
    background: #fff;
}

.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px; /* Spacing between cards */
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e8eaed;
    border-radius: 12px;
    padding: 8px 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-item.active {
    border-color: #34A853; /* Success Green */
    box-shadow: 0 8px 24px rgba(52, 168, 83, 0.08);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    padding: 20px 0;
}

.faq-question h3 {
    font-size: 1.15rem;
    font-weight: 700; /* Bold as per image */
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
}

.faq-toggle {
    font-size: 1.25rem;
    color: #5f6368;
    transition: all 0.3s transform;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.faq-item.active .faq-toggle {
    color: #34A853; /* Green icon when open */
    transform: rotate(0deg); /* We'll swap icons in HTML or use rotation */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    color: #5f6368;
    line-height: 1.7;
    transition: all 0.4s ease;
    font-size: 0.95rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 24px;
    opacity: 1;
}

/* Contact Page Specifics */
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.contact-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--glass-shadow);
    border: 1px solid #eee;
}

.contact-form .form-group {
    margin-bottom: 24px;
}

.contact-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    border: 1px solid #dadce0;
    background: #f8f9fa;
    font-family: inherit;
    transition: all 0.2s;
}

.contact-form input:focus, 
.contact-form textarea:focus {
    background: white;
    border-color: var(--google-blue);
    outline: none;
    box-shadow: 0 0 0 4px rgba(66, 133, 244, 0.1);
}

.contact-info-list {
    list-style: none;
    padding: 0;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.ci-icon {
    width: 48px;
    height: 48px;
    background: #e8f0fe;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--google-blue);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.ci-text h4 {
    margin: 0 0 4px 0;
    font-size: 1rem;
    font-weight: 600;
}

.ci-text p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Legal Pages Layout */
.legal-section {
    padding: 80px 0 120px;
    background: #fff;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-primary);
}

.legal-content h2 {
    font-family: 'Google Sans', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 48px 0 24px;
    color: #202124;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.legal-content ul {
    margin-bottom: 24px;
    padding-left: 20px;
}

.legal-content li {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.legal-update-date {
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid #eee;
    padding-bottom: 32px;
    margin-bottom: 48px;
    display: block;
}
