/* ============================================
   YEAR-OVER-YEAR COMPLIANCE SERVICE PAGE STYLES
   ============================================ */

/* ============================================
   SERVICE HERO
   ============================================ */
.service-hero {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
    background: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        var(--bg-primary);
}

.service-hero.yoy-hero {
    background: 
        radial-gradient(circle at 50% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(56, 189, 248, 0.1) 0%, transparent 40%),
        var(--bg-primary);
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.service-hero .container {
    position: relative;
    z-index: 1;
}

.service-hero-content {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 60px;
}

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease;
}

.service-badge svg {
    width: 18px;
    height: 18px;
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.service-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease 0.1s backwards;
}

.service-hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.8;
    animation: fadeInUp 0.6s ease 0.2s backwards;
}

.service-hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
    animation: fadeInUp 0.6s ease 0.3s backwards;
}

.service-hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-primary);
    animation: fadeInUp 0.6s ease 0.4s backwards;
}

.service-hero-stats .stat {
    text-align: center;
}

.service-hero-stats .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-hero-stats .stat-label {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header h2 svg {
    color: var(--primary);
    width: 32px;
    height: 32px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* ============================================
   PROBLEM SECTION
   ============================================ */
.yoy-problem {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.problem-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.problem-text h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.problem-text .lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.problem-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.problem-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 1rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-primary);
}

.problem-list li:last-child {
    border-bottom: none;
}

.problem-list svg {
    width: 20px;
    height: 20px;
    color: #FF6B6B;
    flex-shrink: 0;
}

.problem-text > p:last-child {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.problem-stats {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.stat-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
}

.stat-card .stat-value {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

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

/* ============================================
   SOLUTION SECTION
   ============================================ */
.yoy-solution {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

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

.solution-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.solution-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(59, 130, 246, 0.1);
}

.solution-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 16px;
    margin: 0 auto 20px;
}

.solution-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.solution-card h3 {
    font-size: 1.125rem;
    margin-bottom: 12px;
}

.solution-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   WHAT'S INCLUDED
   ============================================ */
.yoy-included {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.included-sections {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.included-section {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
}

.included-section:hover {
    border-color: rgba(59, 130, 246, 0.3);
}

.included-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-primary);
}

.included-section h3 svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.included-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.included-section li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.included-section li svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ============================================
   YOY PRICING
   ============================================ */
.yoy-pricing {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.yoy-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 24px;
}

.yoy-plan {
    position: relative;
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s ease;
}

.yoy-plan:hover {
    border-color: var(--border-secondary);
    transform: translateY(-4px);
}

.yoy-plan.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(6, 182, 212, 0.05) 100%);
}

.yoy-plan.featured:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-glow);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: var(--gradient-primary);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
    white-space: nowrap;
}

.yoy-plan h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    text-align: center;
}

.yoy-price {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-primary);
}

.yoy-price .amount {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.yoy-price .period {
    font-size: 1rem;
    color: var(--text-tertiary);
}

.yoy-plan > p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    text-align: center;
}

.yoy-plan ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.yoy-plan li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-primary);
}

.yoy-plan li:last-child {
    border-bottom: none;
}

.yoy-plan li svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.pricing-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-tertiary);
}

/* ============================================
   YOY CALENDAR
   ============================================ */
.yoy-calendar {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.calendar-view {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.calendar-quarter {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.calendar-quarter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.calendar-quarter:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-4px);
}

.calendar-quarter h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.calendar-quarter ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.calendar-quarter li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-primary);
}

.calendar-quarter li:last-child {
    border-bottom: none;
}

.activity-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ============================================
   TESTIMONIAL
   ============================================ */
.yoy-testimonial {
    padding: var(--section-padding) 0;
    background: 
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        var(--bg-primary);
}

.testimonial-large {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-large blockquote {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0 0 32px;
    position: relative;
}

.testimonial-large blockquote::before {
    content: '"';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 6rem;
    font-family: Georgia, serif;
    color: var(--primary);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.testimonial-author img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 2px solid var(--primary);
}

.author-info {
    text-align: left;
}

.author-info strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.author-info span {
    font-size: 0.9rem;
    color: var(--text-tertiary);
}

/* ============================================
   SERVICE FAQ
   ============================================ */
.service-faq {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--border-secondary);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: var(--bg-elevated);
}

.accordion-header h3 {
    font-size: 1.05rem;
    font-weight: 600;
    padding-right: 16px;
}

.accordion-header svg {
    width: 20px;
    height: 20px;
    color: var(--text-tertiary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .accordion-header svg {
    transform: rotate(180deg);
    color: var(--primary);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .accordion-content {
    max-height: 500px;
}

.accordion-content p {
    padding: 0 24px 20px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   SERVICE CTA
   ============================================ */
.service-cta {
    padding: var(--section-padding) 0;
    background: 
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 60%),
        var(--bg-primary);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .included-sections {
        grid-template-columns: repeat(2, 1fr);
    }

    .yoy-pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto 24px;
    }

    .calendar-view {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .service-hero h1 {
        font-size: 2.75rem;
    }

    .problem-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .problem-stats {
        flex-direction: row;
    }

    .stat-card {
        flex: 1;
    }

    .solution-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .service-hero {
        padding: 120px 0 60px;
    }

    .service-hero h1 {
        font-size: 2.25rem;
    }

    .service-hero p {
        font-size: 1.1rem;
    }

    .service-hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .service-hero-stats {
        flex-wrap: wrap;
        gap: 30px;
    }

    .service-hero-stats .stat {
        min-width: 100px;
    }

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

    .problem-stats {
        flex-direction: column;
    }

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

    .included-sections {
        grid-template-columns: 1fr;
    }

    .calendar-view {
        grid-template-columns: 1fr;
    }

    .testimonial-large blockquote {
        font-size: 1.25rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .service-hero h1 {
        font-size: 1.875rem;
    }

    .service-hero-stats .stat-number {
        font-size: 2rem;
    }

    .problem-text h2 {
        font-size: 2rem;
    }

    .stat-card .stat-value {
        font-size: 2.5rem;
    }

    .yoy-price .amount {
        font-size: 2rem;
    }

    .testimonial-large blockquote {
        font-size: 1.1rem;
    }

    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }

    .author-info {
        text-align: center;
    }
}
