/* ============================================
   CORPORATE TAX FILING - DEDICATED STYLESHEET
   Modern Fintech Design with Smooth Animations
   ============================================ */

:root {
    --primary: #FF6B35;
    --secondary: #E93C05;
    --accent: #6366F1;
    --neutral-900: #1A1A1A;
    --neutral-800: #27272A;
    --neutral-700: #3F3F46;
    --neutral-600: #52525B;
    --neutral-500: #71717A;
    --neutral-400: #A1A1AA;
    --neutral-300: #D4D4D8;
    --neutral-200: #E4E4E7;
    --neutral-100: #F4F4F5;
    --light-bg: #FFF4F0;
}

/* ============================================
   GLOBAL PAGE STYLES
   ============================================ */

#corp-tax-filing {
    scroll-behavior: smooth;
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(circle at 10% 0%, rgba(255, 107, 53, 0.11) 0%, rgba(255, 107, 53, 0) 42%),
        radial-gradient(circle at 90% 15%, rgba(255, 107, 53, 0.08) 0%, rgba(255, 107, 53, 0) 36%),
        linear-gradient(180deg, #fff7f3 0%, #ffffff 40%, #fffaf8 100%);
}

#corp-tax-filing::before,
#corp-tax-filing::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

#corp-tax-filing::before {
    opacity: 0.35;
    background-image:
        repeating-linear-gradient(
            115deg,
            rgba(255, 107, 53, 0.08) 0,
            rgba(255, 107, 53, 0.08) 2px,
            transparent 2px,
            transparent 28px
        );
    animation: ctfDrift 24s linear infinite;
}

#corp-tax-filing::after {
    opacity: 0.4;
    background-image:
        radial-gradient(circle at 25% 35%, rgba(255, 107, 53, 0.16) 0 2px, transparent 3px),
        radial-gradient(circle at 75% 75%, rgba(255, 107, 53, 0.12) 0 2px, transparent 3px);
    background-size: 180px 180px, 220px 220px;
    animation: ctfPulseDots 14s ease-in-out infinite;
}

#corp-tax-filing h1,
#corp-tax-filing h2,
#corp-tax-filing h3,
#corp-tax-filing h4,
#corp-tax-filing h5,
#corp-tax-filing h6 {
    line-height: 1.3;
    letter-spacing: -0.5px;
    animation: fadeInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#corp-tax-filing p {
    line-height: 1.7;
    color: var(--neutral-600);
    animation: fadeInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
}

/* ============================================
   ANIMATIONS & KEYFRAMES
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-24px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(24px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ctfFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(20px);
    }
}

@keyframes ctfPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes ctfDrift {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-120px, 40px, 0);
    }
}

@keyframes ctfPulseDots {
    0%, 100% {
        opacity: 0.22;
    }
    50% {
        opacity: 0.48;
    }
}

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

@keyframes ctfBars {
    0%, 100% {
        transform: scaleY(0.5);
    }
    50% {
        transform: scaleY(1);
    }
}

@keyframes ctfDotFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* ============================================
   HERO SECTION
   ============================================ */

#corp-tax-filing .ctf-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08) 0%, rgba(255, 255, 255, 0.96) 100%);
    padding: 150px 0 90px;
    min-height: 600px;
    display: flex;
    align-items: center;
}

#corp-tax-filing .ctf-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.18) 0%, rgba(255, 107, 53, 0) 48%),
        linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 107, 53, 0.06) 100%);
    pointer-events: none;
}

#corp-tax-filing .ctf-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        -35deg,
        rgba(255, 107, 53, 0.07) 0,
        rgba(255, 107, 53, 0.07) 2px,
        transparent 2px,
        transparent 24px
    );
    opacity: 0.2;
    animation: ctfDrift 20s linear infinite reverse;
    pointer-events: none;
}

/* Animated background elements */
#corp-tax-filing .ctf-hero-orb {
    position: absolute;
    left: -120px;
    top: 40px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.25) 0%, transparent 70%);
    animation: ctfFloat 8s ease-in-out infinite;
    filter: blur(40px);
}

#corp-tax-filing .ctf-hero-lines {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(120deg, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255, 107, 53, 0.03) 2px, rgba(255, 107, 53, 0.03) 4px);
    pointer-events: none;
}

/* Eyebrow tag */
#corp-tax-filing .ctf-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(255, 107, 53, 0.08));
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0s;
    border: 1px solid rgba(255, 107, 53, 0.2);
    transition: all 0.3s ease;
}

#corp-tax-filing .ctf-eyebrow:hover {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.25), rgba(255, 107, 53, 0.15));
    transform: scale(1.05);
    border-color: rgba(255, 107, 53, 0.3);
}

/* Hero heading */
#corp-tax-filing .ctf-hero h2 {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--neutral-900);
    animation: fadeInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
    line-height: 1.2;
}

#corp-tax-filing .ctf-hero-title {
    font-size: clamp(2.1rem, 5.2vw, 3.8rem);
    line-height: 1.08;
    letter-spacing: -0.8px;
    font-weight: 800;
    color: #161616;
    margin: 0 0 10px 0;
    text-transform: capitalize;
}

#corp-tax-filing .ctf-hero p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 600px;
    animation: fadeInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

/* Action buttons */
#corp-tax-filing .ctf-hero .btn {
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: slideUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
}

#corp-tax-filing .ctf-hero .btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 10px 28px rgba(255, 107, 53, 0.25);
}

#corp-tax-filing .ctf-hero .btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(255, 107, 53, 0.35);
}

#corp-tax-filing .ctf-hero .btn-outline-primary {
    color: var(--primary);
    border: 2px solid var(--primary);
    background: transparent;
}

#corp-tax-filing .ctf-hero .btn-outline-primary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(255, 107, 53, 0.2);
}

/* Stats section */
#corp-tax-filing .ctf-stat {
    display: flex;
    flex-direction: column;
    padding: 18px 22px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid var(--neutral-200);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: slideUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s both;
}

#corp-tax-filing .ctf-stat:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 14px 40px rgba(255, 107, 53, 0.15);
    border-color: var(--primary);
}

#corp-tax-filing .ctf-stat span {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

#corp-tax-filing .ctf-stat small {
    color: var(--neutral-600);
    font-weight: 500;
    font-size: 0.85rem;
}

/* Hero card */
#corp-tax-filing .ctf-hero-card {
    padding: 32px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(255, 107, 53, 0.1);
    animation: fadeInRight 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

#corp-tax-filing .ctf-image-placeholder {
    height: 280px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #FF6B35 0%, #E55A2B 100%);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease;
}

#corp-tax-filing .ctf-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s infinite;
}

#corp-tax-filing .ctf-hero-card:hover .ctf-image-placeholder {
    transform: scale(1.02);
}

#corp-tax-filing .ctf-art-placeholder {
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

#corp-tax-filing .ctf-art-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.5;
}

#corp-tax-filing .ctf-art-ring {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px dashed rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    letter-spacing: 2px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    animation: ctfRingSpin 18s linear infinite;
    z-index: 2;
}

#corp-tax-filing .ctf-art-bars {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: flex;
    gap: 8px;
    align-items: flex-end;
    z-index: 2;
}

#corp-tax-filing .ctf-art-bars span {
    width: 11px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    transform-origin: bottom;
    animation: ctfBars 2.1s ease-in-out infinite;
}

#corp-tax-filing .ctf-art-bars span:nth-child(1) {
    height: 38px;
}

#corp-tax-filing .ctf-art-bars span:nth-child(2) {
    height: 58px;
    animation-delay: 0.25s;
}

#corp-tax-filing .ctf-art-bars span:nth-child(3) {
    height: 46px;
    animation-delay: 0.45s;
}

#corp-tax-filing .ctf-art-dots {
    position: absolute;
    top: 18px;
    left: 18px;
    display: flex;
    gap: 8px;
    z-index: 2;
}

#corp-tax-filing .ctf-art-dots i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    display: block;
    animation: ctfDotFloat 2.8s ease-in-out infinite;
}

#corp-tax-filing .ctf-art-dots i:nth-child(2) {
    animation-delay: 0.2s;
}

#corp-tax-filing .ctf-art-dots i:nth-child(3) {
    animation-delay: 0.4s;
}

#corp-tax-filing .ctf-art-workflow {
    justify-content: flex-end;
    padding: 24px;
}

#corp-tax-filing .ctf-flow-line {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    margin-top: 20px;
}

#corp-tax-filing .ctf-flow-line::before {
    content: '';
    position: absolute;
    left: 10px;
    right: 10px;
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.68);
}

#corp-tax-filing .ctf-flow-line span {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.2);
    animation: ctfPulse 2.4s ease-in-out infinite;
}

#corp-tax-filing .ctf-flow-line span:nth-child(2) {
    animation-delay: 0.3s;
}

#corp-tax-filing .ctf-flow-line span:nth-child(3) {
    animation-delay: 0.5s;
}

#corp-tax-filing .ctf-flow-line span:nth-child(4) {
    animation-delay: 0.8s;
}

#corp-tax-filing .ctf-flow-labels {
    margin-top: 26px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    z-index: 2;
}

#corp-tax-filing .ctf-flow-labels b {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
}

#corp-tax-filing .ctf-hero-card:hover .ctf-art-ring,
#corp-tax-filing .ctf-image-frame:hover .ctf-art-ring {
    animation-duration: 6s;
}

#corp-tax-filing .ctf-hero-card:hover .ctf-art-bars span,
#corp-tax-filing .ctf-image-frame:hover .ctf-art-bars span {
    transform: scaleY(1.2);
}

#corp-tax-filing .ctf-image-frame:hover .ctf-art-placeholder,
#corp-tax-filing .ctf-hero-card:hover .ctf-art-placeholder {
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.25),
        0 18px 34px rgba(0, 0, 0, 0.18);
}

/* KPI Grid */
#corp-tax-filing .ctf-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
}

#corp-tax-filing .ctf-kpi {
    padding: 16px;
    border-radius: 12px;
    background: var(--light-bg);
    font-weight: 600;
    color: var(--neutral-900);
    display: flex;
    flex-direction: column;
    gap: 6px;
    border: 1px solid rgba(255, 107, 53, 0.1);
    transition: all 0.3s ease;
    animation: slideUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s both;
}

#corp-tax-filing .ctf-kpi:hover {
    background: linear-gradient(135deg, var(--light-bg), rgba(255, 107, 53, 0.08));
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 8px 16px rgba(255, 107, 53, 0.12);
}

#corp-tax-filing .ctf-kpi h6 {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--neutral-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

#corp-tax-filing .ctf-kpi span {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
}

/* ============================================
   CARDS & CONTENT SECTIONS
   ============================================ */

#corp-tax-filing .ctf-card {
    padding: 32px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid var(--neutral-200);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
    animation: slideUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
}

#corp-tax-filing .ctf-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.05), transparent);
    transition: left 0.6s ease;
}

#corp-tax-filing .ctf-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 48px rgba(255, 107, 53, 0.18);
    border-color: var(--primary);
}

#corp-tax-filing .ctf-card:hover::before {
    left: 100%;
}

#corp-tax-filing .ctf-card h5 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 12px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

#corp-tax-filing .ctf-card p {
    margin-bottom: 0;
    color: var(--neutral-600);
    animation: fadeInUp 0.6s ease 0.3s both;
}

/* Icon styling */
#corp-tax-filing .ctf-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(255, 107, 53, 0.08));
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 107, 53, 0.1);
    transition: all 0.3s ease;
}

#corp-tax-filing .ctf-card:hover .ctf-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

/* ============================================
   IMAGE & CONTENT FRAMES
   ============================================ */

#corp-tax-filing .ctf-image-frame {
    position: relative;
    padding: 24px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.12);
    border: 1px solid var(--neutral-200);
    animation: fadeInLeft 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
    transition: all 0.4s ease;
}

#corp-tax-filing .ctf-image-frame:hover {
    box-shadow: 0 32px 72px rgba(255, 107, 53, 0.15);
    border-color: var(--primary);
}

#corp-tax-filing .ctf-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--primary);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.3);
    animation: bounce 2s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ============================================
   WORKFLOW STEPS SECTION
   ============================================ */

#corp-tax-filing .ctf-step {
    display: flex;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid var(--neutral-200);
    animation: slideUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
    transition: all 0.3s ease;
}

#corp-tax-filing .ctf-step:last-child {
    border-bottom: none;
}

#corp-tax-filing .ctf-step:hover {
    padding-left: 12px;
    background: linear-gradient(90deg, rgba(255, 107, 53, 0.05), transparent);
}

#corp-tax-filing .ctf-step span {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(255, 107, 53, 0.08));
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    border: 1px solid rgba(255, 107, 53, 0.2);
    transition: all 0.3s ease;
}

#corp-tax-filing .ctf-step:hover span {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

#corp-tax-filing .ctf-step h6 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin: 0 0 4px 0;
}

#corp-tax-filing .ctf-step p {
    margin: 0;
    color: var(--neutral-600);
    font-size: 0.95rem;
}

/* ============================================
   PILLS & BADGES SECTION
   ============================================ */

#corp-tax-filing .ctf-pill {
    padding: 18px 24px;
    border-radius: 999px;
    background: #ffffff;
    text-align: center;
    font-weight: 600;
    color: var(--neutral-900);
    border: 1.5px solid var(--neutral-200);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);

    /* ONLY animate what you need */
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease,
        border-color 0.3s ease;

    position: relative;
    overflow: hidden;
    will-change: transform;
}

#corp-tax-filing .ctf-pill::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: linear-gradient(
        120deg,
        transparent 30%,
        rgba(255, 255, 255, 0.35),
        transparent 70%
    );
    transform: translateX(-120%);
    opacity: 0;
    transition:
        transform 0.6s ease,
        opacity 0.3s ease;
    pointer-events: none;
}

#corp-tax-filing .ctf-pill:hover {
     transform: translateY(-6px) scale(1.045);
    box-shadow: 0 16px 40px rgba(255, 107, 53, 0.25);
    border-color: var(--primary);
}

#corp-tax-filing .ctf-pill:hover::before {
    transform: translateX(120%);
    opacity: 0.12;
}

#corp-tax-filing .ctf-pill:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.18);
}

@keyframes pillBounce {
    0%   { transform: translateY(0) scale(1); }
    40%  { transform: translateY(-8px) scale(1.06); }
    65%  { transform: translateY(-4px) scale(1.04); }
    100% { transform: translateY(-6px) scale(1.05); }
}

/* ============================================
   RISK & INFO SECTIONS
   ============================================ */

#corp-tax-filing .ctf-risk {
    padding: 28px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    border: 1px solid var(--neutral-200);
    height: 100%;

    position: relative;
    overflow: hidden;

    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease,
        border-color 0.3s ease;

    will-change: transform;
}

#corp-tax-filing .ctf-risk::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: linear-gradient(
        135deg,
        rgba(255, 107, 53, 0.12),
        rgba(255, 255, 255, 0.6)
    );
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

#corp-tax-filing .ctf-risk:hover {
     transform: translateY(-8px) scale(1.025);
    box-shadow: 0 20px 48px rgba(255, 107, 53, 0.18);
    border-color: var(--primary);
}

#corp-tax-filing .ctf-risk:hover::before {
    opacity: 1;
}

#corp-tax-filing .ctf-risk:active {
    transform: translateY(-4px) scale(0.99);
}

#corp-tax-filing .ctf-risk h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 12px;
}

#corp-tax-filing .ctf-risk p {
    margin-bottom: 0;
    color: var(--neutral-600);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   SECTION HEADERS
   ============================================ */

#corp-tax-filing .text-center {
    animation: fadeInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#corp-tax-filing .display-5 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 16px;
}

/* ============================================
   ACCORDION & INTERACTIVE SECTIONS
   ============================================ */

#corp-tax-filing .ctf-accordion .accordion-item {
    border: 1px solid var(--neutral-200);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    animation: slideUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
    transition: all 0.3s ease;
}

#corp-tax-filing .ctf-accordion .accordion-item:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 16px rgba(255, 107, 53, 0.1);
}

#corp-tax-filing .ctf-accordion .accordion-button {
    background: #ffffff;
    color: var(--neutral-900);
    font-weight: 600;
    padding: 18px 24px;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: none;
}

#corp-tax-filing .ctf-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08), rgba(255, 107, 53, 0.04));
    color: var(--primary);
    box-shadow: none;
}

#corp-tax-filing .ctf-accordion .accordion-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
    border-color: var(--primary);
}

#corp-tax-filing .ctf-accordion .accordion-button::after {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#corp-tax-filing .ctf-accordion .accordion-body {
    padding: 20px 24px;
    color: var(--neutral-600);
    background: #ffffff;
    border-top: 1px solid var(--neutral-200);
    animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================
   CTA SECTION
   ============================================ */

#corp-tax-filing .ctf-cta {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 255, 255, 0.98) 100%);
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 53, 0.15);
    animation: fadeInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

#corp-tax-filing .ctf-cta h2 {
    color: var(--neutral-900);
    margin-bottom: 16px;
}

#corp-tax-filing .ctf-cta p {
    color: var(--neutral-600);
    font-size: 1.1rem;
    margin-bottom: 28px;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 768px) {
    #corp-tax-filing .ctf-hero {
        padding: 130px 0 70px;
        min-height: auto;
    }

    #corp-tax-filing .ctf-hero h2 {
        font-size: 2rem;
    }

    #corp-tax-filing .ctf-hero p {
        font-size: 1rem;
    }

    #corp-tax-filing .ctf-stat {
        padding: 14px 16px;
    }

    #corp-tax-filing .ctf-card,
    #corp-tax-filing .ctf-risk {
        padding: 24px;
    }

    #corp-tax-filing .ctf-hero-card {
        padding: 20px;
        margin-top: 30px;
    }

    #corp-tax-filing .ctf-image-placeholder {
        height: 240px;
    }

    #corp-tax-filing .ctf-art-ring {
        width: 96px;
        height: 96px;
        font-size: 0.9rem;
    }

    #corp-tax-filing .ctf-flow-labels b {
        font-size: 0.62rem;
        letter-spacing: 0.4px;
    }

    #corp-tax-filing .ctf-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    #corp-tax-filing .display-5 {
        font-size: 1.8rem;
    }

    #corp-tax-filing .ctf-step {
        gap: 16px;
        padding: 18px 0;
    }

    #corp-tax-filing .ctf-step span {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    #corp-tax-filing .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    #corp-tax-filing .ctf-pill {
        padding: 14px 18px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    #corp-tax-filing .ctf-hero-orb {
        width: 200px;
        height: 200px;
        left: -100px;
    }

    #corp-tax-filing .ctf-hero {
        padding: 115px 0 56px;
    }

    #corp-tax-filing .ctf-hero h2 {
        font-size: 1.6rem;
        margin-bottom: 16px;
    }

    #corp-tax-filing .ctf-hero p {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    #corp-tax-filing .ctf-card,
    #corp-tax-filing .ctf-risk {
        padding: 20px;
    }

    #corp-tax-filing .ctf-hero-card {
        padding: 16px;
    }

    #corp-tax-filing .ctf-image-placeholder {
        height: 200px;
        font-size: 0.95rem;
    }

    #corp-tax-filing .ctf-art-bars {
        right: 12px;
        bottom: 12px;
        gap: 6px;
    }

    #corp-tax-filing .ctf-art-bars span {
        width: 9px;
    }

    #corp-tax-filing .ctf-flow-labels {
        margin-top: 20px;
    }

    #corp-tax-filing .ctf-kpi-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    #corp-tax-filing .display-5 {
        font-size: 1.5rem;
    }

    #corp-tax-filing .ctf-step {
        gap: 12px;
        padding: 14px 0;
    }

    #corp-tax-filing .ctf-badge {
        padding: 8px 12px;
        font-size: 0.75rem;
    }

    #corp-tax-filing .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        width: 100%;
    }

    #corp-tax-filing .d-flex.gap-3 {
        flex-direction: column;
    }

    #corp-tax-filing .ctf-pill {
        padding: 12px 16px;
        font-size: 0.85rem;
    }
}

/* ============================================
   DARK MODE SUPPORT (OPTIONAL)
   ============================================ */

@media (prefers-color-scheme: dark) {
    #corp-tax-filing {
        background: var(--neutral-900);
        color: var(--neutral-100);
    }

    #corp-tax-filing .ctf-card,
    #corp-tax-filing .ctf-risk,
    #corp-tax-filing .ctf-hero-card,
    #corp-tax-filing .ctf-image-frame {
        background: var(--neutral-800);
        border-color: var(--neutral-700);
    }

    #corp-tax-filing .ctf-stat,
    #corp-tax-filing .ctf-kpi {
        background: var(--neutral-800);
        border-color: var(--neutral-700);
    }

    #corp-tax-filing .ctf-kpi {
        background: rgba(255, 107, 53, 0.12);
    }

    #corp-tax-filing .display-5,
    #corp-tax-filing .ctf-step h6,
    #corp-tax-filing h5 {
        color: var(--neutral-100);
    }

    #corp-tax-filing p,
    #corp-tax-filing .ctf-risk p,
    #corp-tax-filing .ctf-step p {
        color: var(--neutral-400);
    }

    #corp-tax-filing .ctf-accordion .accordion-item,
    #corp-tax-filing .ctf-accordion .accordion-button,
    #corp-tax-filing .ctf-accordion .accordion-body {
        background: var(--neutral-800);
        border-color: var(--neutral-700);
        color: var(--neutral-100);
    }

    #corp-tax-filing .ctf-cta {
        background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(255, 107, 53, 0.05));
    }
}

/* ============================================
   UTILITY ANIMATIONS FOR STAGGERED EFFECTS
   ============================================ */

#corp-tax-filing .row > div:nth-child(1) {
    animation-delay: 0.1s;
}

#corp-tax-filing .row > div:nth-child(2) {
    animation-delay: 0.2s;
}

#corp-tax-filing .row > div:nth-child(3) {
    animation-delay: 0.3s;
}

#corp-tax-filing .row > div:nth-child(4) {
    animation-delay: 0.4s;
}

/* Ensure animations don't interfere with page performance */
@media (prefers-reduced-motion: reduce) {
    #corp-tax-filing * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
