/* ================================================
   ACCOUNTANTS PAGE - PREMIUM UI SYSTEM
   Tax Workflow Timeline + Quarterly Cycle Architecture
   ================================================ */

/* ================================================
   CUSTOM VARIABLES & THEME
   ================================================ */
:root {
    --primary-accent: #6b18d8;
    --secondary-blue: #60a5fa;
    --accent-red: #ef4444;
    --accent-green: #10b981;
    --dark-bg: #0f0f0f;
    --light-text: #e5e5e5;
    --border-subtle: rgba(107, 24, 216, 0.12);
    --border-medium: rgba(107, 24, 216, 0.2);
    --glass-bg: rgba(15, 15, 15, 0.6);
}

/* ================================================
   HERO SECTION - TAX SEASON HERO
   ================================================ */
.hero-section {
    padding: 140px 0 100px;
    position: relative;
    background: linear-gradient(135deg, rgba(107, 24, 216, 0.04) 0%, rgba(96, 165, 250, 0.02) 100%);
    border-bottom: 1px solid var(--border-subtle);
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.sub-hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.sub-hero-eyebrow .eyebrow-line {
    width: 24px;
    height: 2px;
    background: var(--primary-accent);
    border-radius: 1px;
}

.sub-hero-eyebrow .eyebrow-text {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary-accent);
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.text-gradient-purple {
    background: linear-gradient(135deg, #6b18d8 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sub-hero-description {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(229, 229, 229, 0.8);
    max-width: 700px;
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

.hero-actions a {
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    padding: 14px 28px;
    background: var(--primary-accent);
    color: white;
    border-radius: 8px;
    font-size: 15px;
}

.btn-primary:hover {
    background: rgba(107, 24, 216, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(107, 24, 216, 0.3);
}

.btn-primary svg {
    width: 14px;
    height: 14px;
    stroke: white;
}

.btn-secondary {
    padding: 14px 28px;
    background: transparent;
    color: white;
    border: 2px solid var(--border-medium);
    border-radius: 8px;
    font-size: 15px;
}

.btn-secondary:hover {
    border-color: var(--primary-accent);
    background: rgba(107, 24, 216, 0.05);
}

.hero-stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.stat-card {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: rgba(107, 24, 216, 0.06);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-accent);
    line-height: 1.2;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 13px;
    color: rgba(229, 229, 229, 0.7);
    line-height: 1.4;
}

/* ================================================
   TAX WORKFLOW PIPELINE SECTION
   Unique visual: Connected workflow stages
   ================================================ */
.tax-pipeline-section {
    padding: 100px 0;
    position: relative;
    border-bottom: 1px solid var(--border-subtle);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary-accent);
    margin-bottom: 16px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.3;
    color: #ffffff;
    margin-bottom: 12px;
}

.section-title span {
    background: linear-gradient(135deg, #6b18d8 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Tax Pipeline Visual */
.tax-pipeline-visual {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.pipeline-stage {
    position: relative;
    padding: 24px;
    background: linear-gradient(135deg, rgba(107, 24, 216, 0.08) 0%, rgba(96, 165, 250, 0.04) 100%);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    animation: slideInUp 0.6s ease-out forwards;
}

.pipeline-stage:nth-child(1) { animation-delay: 0.1s; }
.pipeline-stage:nth-child(2) { animation-delay: 0.2s; }
.pipeline-stage:nth-child(3) { animation-delay: 0.3s; }
.pipeline-stage:nth-child(4) { animation-delay: 0.4s; }

.pipeline-stage:hover {
    background: linear-gradient(135deg, rgba(107, 24, 216, 0.15) 0%, rgba(96, 165, 250, 0.08) 100%);
    border-color: var(--primary-accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(107, 24, 216, 0.2);
}

.pipeline-stage::after {
    content: '';
    position: absolute;
    right: -22px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 60%;
    background: linear-gradient(to bottom, var(--primary-accent), transparent);
    opacity: 0.3;
}

.pipeline-stage:last-child::after {
    display: none;
}

.stage-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(107, 24, 216, 0.2);
    border: 2px solid var(--primary-accent);
    border-radius: 50%;
    font-weight: 700;
    color: var(--primary-accent);
    margin-bottom: 12px;
    font-size: 16px;
}

.stage-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

/* ================================================
   QUARTERLY TAX CALENDAR SECTION
   Unique visual: Calendar grid with automation points
   ================================================ */
.quarterly-section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.quarterly-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.quarter-card {
    position: relative;
    padding: 32px;
    background: linear-gradient(135deg, rgba(107, 24, 216, 0.08) 0%, rgba(96, 165, 250, 0.04) 100%);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    opacity: 0;
    animation: slideInUp 0.6s ease-out forwards;
}

.quarter-card:nth-child(1) { animation-delay: 0.1s; }
.quarter-card:nth-child(2) { animation-delay: 0.2s; }
.quarter-card:nth-child(3) { animation-delay: 0.3s; }
.quarter-card:nth-child(4) { animation-delay: 0.4s; }

.quarter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-accent), var(--secondary-blue));
    opacity: 0.6;
}

.quarter-card:hover {
    background: linear-gradient(135deg, rgba(107, 24, 216, 0.15) 0%, rgba(96, 165, 250, 0.08) 100%);
    border-color: var(--primary-accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(107, 24, 216, 0.2);
}

.quarter-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary-accent);
    margin-bottom: 12px;
}

.quarter-months {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
}

.tax-deadline {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(229, 229, 229, 0.8);
    margin-bottom: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.deadline-indicator {
    width: 8px;
    height: 8px;
    background: var(--accent-red);
    border-radius: 50%;
    flex-shrink: 0;
}

.tax-deadline:last-of-type {
    border-bottom: none;
}

.automation-list {
    list-style: none;
    padding: 0;
    margin-top: 16px;
}

.automation-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: rgba(229, 229, 229, 0.7);
    margin-bottom: 8px;
    padding-left: 12px;
    position: relative;
}

.automation-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: 700;
}

/* ================================================
   CAPABILITY ENGINE SECTION
   Integration with tax workflow
   ================================================ */
.capability-engine-section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.engine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.engine-card {
    display: flex;
    flex-direction: column;
    padding: 28px;
    background: linear-gradient(135deg, rgba(107, 24, 216, 0.08) 0%, rgba(96, 165, 250, 0.04) 100%);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    transition: all 0.3s ease;
    opacity: 0;
    animation: scaleIn 0.6s ease-out forwards;
}

.engine-card:nth-child(1) { animation-delay: 0s; }
.engine-card:nth-child(2) { animation-delay: 0.1s; }
.engine-card:nth-child(3) { animation-delay: 0.2s; }
.engine-card:nth-child(4) { animation-delay: 0.3s; }
.engine-card:nth-child(5) { animation-delay: 0.4s; }
.engine-card:nth-child(6) { animation-delay: 0.5s; }

.engine-card:hover {
    background: linear-gradient(135deg, rgba(107, 24, 216, 0.15) 0%, rgba(96, 165, 250, 0.08) 100%);
    border-color: var(--primary-accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(107, 24, 216, 0.2);
}

.engine-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(107, 24, 216, 0.2);
    border: 2px solid var(--primary-accent);
    border-radius: 8px;
    font-weight: 800;
    color: var(--primary-accent);
    font-size: 18px;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.engine-name {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.4;
}

.engine-desc {
    font-size: 13px;
    color: rgba(229, 229, 229, 0.7);
    line-height: 1.6;
}

/* ================================================
   CTA SECTION
   ================================================ */
.ghl-cta-section {
    padding: 80px 0;
    position: relative;
}

.cta-banner-glass {
    padding: 60px 48px;
    background: linear-gradient(135deg, rgba(107, 24, 216, 0.1) 0%, rgba(96, 165, 250, 0.05) 100%);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    text-align: center;
}

.cta-eyebrow {
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary-accent);
    margin-bottom: 16px;
}

.cta-title {
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.3;
}

.cta-desc {
    font-size: 16px;
    color: rgba(229, 229, 229, 0.8);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.btn-large {
    padding: 16px 40px !important;
    font-size: 16px !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ================================================
   FOOTER PRE-CTA
   ================================================ */
.footer-pre-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(107, 24, 216, 0.1) 0%, rgba(96, 165, 250, 0.05) 100%);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    margin-bottom: 60px;
}

.footer-pre-cta-content {
    flex: 1;
}

.footer-pre-cta-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.footer-pre-cta-desc {
    font-size: 14px;
    color: rgba(229, 229, 229, 0.8);
    line-height: 1.6;
}

/* ================================================
   SITE FOOTER
   ================================================ */
.site-footer {
    border-top: 1px solid var(--border-subtle);
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.logo {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
}

.logo-dot {
    color: var(--primary-accent);
}

.footer-desc {
    font-size: 13px;
    color: rgba(229, 229, 229, 0.7);
    line-height: 1.6;
    margin-top: 12px;
}

.footer-links-group,
.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-label,
.footer-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary-accent);
    margin-bottom: 4px;
}

.footer-links-group a,
.footer-links-col a {
    font-size: 14px;
    color: rgba(229, 229, 229, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links-group a:hover,
.footer-links-col a:hover {
    color: var(--primary-accent);
}

.footer-links-group a.active {
    color: var(--primary-accent);
    font-weight: 600;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
}

.footer-copyright {
    font-size: 12px;
    color: rgba(229, 229, 229, 0.6);
}

.footer-legal-links {
    display: flex;
    gap: 24px;
}

.footer-legal-links a {
    font-size: 12px;
    color: rgba(229, 229, 229, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: var(--primary-accent);
}

/* ================================================
   ANIMATIONS
   ================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 42px;
    }

    .section-title {
        font-size: 32px;
    }

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

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

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

    .footer-pre-cta {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 80px;
    }

    .hero-title {
        font-size: 32px;
    }

    .sub-hero-description {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions a {
        width: 100%;
        justify-content: center;
    }

    .hero-stats-row {
        grid-template-columns: 1fr;
    }

    .tax-pipeline-visual {
        grid-template-columns: 1fr;
    }

    .pipeline-stage::after {
        display: none;
    }

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

    .section-title {
        font-size: 26px;
    }

    .cta-banner-glass {
        padding: 40px 24px;
    }

    .cta-title {
        font-size: 28px;
    }

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

@media (max-width: 640px) {
    .hero-title {
        font-size: 28px;
    }

    .sub-hero-description {
        font-size: 15px;
    }

    .hero-stats-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stat-card {
        padding: 16px;
    }

    .stat-value {
        font-size: 24px;
    }

    .tax-pipeline-visual,
    .quarterly-grid {
        gap: 16px;
    }

    .quarter-card,
    .pipeline-stage {
        padding: 20px;
    }

    .cta-banner-glass {
        padding: 32px 16px;
    }

    .cta-title {
        font-size: 22px;
    }

    .footer-pre-cta {
        padding: 24px;
    }

    .footer-pre-cta-title {
        font-size: 18px;
    }

    .footer-legal-links {
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 80px 0 60px;
    }

    .hero-title {
        font-size: 24px;
    }

    .section-eyebrow {
        font-size: 11px;
    }

    .section-title {
        font-size: 22px;
    }

    .pipeline-stage {
        padding: 16px;
    }

    .stage-title {
        font-size: 12px;
    }

    .quarter-card {
        padding: 20px;
    }

    .tax-pipeline-visual,
    .quarterly-grid,
    .engine-grid {
        gap: 12px;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .footer-legal-links {
        flex-direction: column;
        gap: 8px;
    }
}

/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
