/* =============================================
   RANKYFY AGENCY LANDING PAGE - CUSTOM STYLES
   ============================================= */

/* ── HERO ── */
.agency-hero {
    background: var(--secondary-color);
    padding-top: 160px;
    padding-bottom: 120px;
    position: relative;
    overflow: hidden;
}

.agency-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://rankyfy.com/wp-content/themes/rankyfy-new/images/homenew-images/hero-bg-new.webp') center/cover no-repeat;
    opacity: 0.08;
    pointer-events: none;
}

.agency-hero::after {
    content: '';
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: var(--primary-color);
    position: absolute;
    top: -200px;
    right: -200px;
    filter: blur(180px);
    opacity: 0.18;
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 85, 0, 0.15);
    border: 1px solid rgba(255, 85, 0, 0.3);
    border-radius: 50px;
    padding: 6px 18px;
    font-size: 13px;
    font-weight: 600;
    color: #FF9966;
    margin-bottom: 24px;
    animation: fadeInDown 0.6s ease both;
}

.hero-badge span {
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.6; }
}

.agency-hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    color: #fff;
    line-height: 1.1;
    animation: fadeInUp 0.7s ease 0.1s both;
}

.agency-hero .hero-sub {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 32px;
    animation: fadeInUp 0.7s ease 0.2s both;
}

.hero-cta-group {
    animation: fadeInUp 0.7s ease 0.3s both;
}

.hero-trust {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
    margin-top: 16px;
    animation: fadeInUp 0.7s ease 0.4s both;
}

.hero-trust span {
    margin: 0 6px;
}

/* Hero stats row */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    flex-wrap: wrap;
    animation: fadeInUp 0.7s ease 0.5s both;
}

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

.hero-stat .stat-num {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(90deg, #FF5500 0%, #FFDCCA 50%, #FF5500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.hero-stat .stat-label {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    margin-top: 4px;
}

.hero-divider {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    align-self: center;
}

/* ── SCROLL LINE (decorative) ── */
.scroll-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,85,0,0.4) 50%, transparent 100%);
    margin: 0;
}

/* ── PROBLEM SECTION ── */
.problem-section {
    background: #0A0C14;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.problem-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    border-radius: 50%;
    bottom: -200px;
    left: -100px;
    filter: blur(160px);
    opacity: 0.12;
}

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

.chaos-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}

.chaos-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.75);
    font-size: 1rem;
}

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

.chaos-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: rgba(255, 85, 0, 0.12);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-top: 1px;
}

.chaos-visual {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.chaos-visual img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 24px;
    filter: brightness(0.7) saturate(0.8);
}

.chaos-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,12,20,0.7) 0%, rgba(255,85,0,0.1) 100%);
    border-radius: 24px;
}

.chaos-visual-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(10,12,20,0.9);
    border: 1px solid rgba(255,85,0,0.3);
    border-radius: 16px;
    padding: 16px 20px;
    color: white;
}

.chaos-visual-badge .badge-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.chaos-visual-badge .badge-text {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    margin-top: 2px;
}

/* ── SOLUTION SECTION ── */
.solution-section {
    padding: 100px 0;
    background: #fff;
    position: relative;
}

.sol-card {
    padding: 32px 28px;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.06);
    background: #fff;
    height: 100%;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.sol-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,85,0,0.0) 0%, rgba(255,85,0,0.5) 50%, rgba(255,85,0,0.0) 100%);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.35s;
}

.sol-card:hover::before {
    opacity: 1;
}

.sol-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(255,85,0,0.1);
}

.sol-icon {
    width: 64px;
    height: 64px;
    background: rgba(255,85,0,0.08);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 26px;
    transition: all 0.3s;
}

.sol-card:hover .sol-icon {
    background: var(--primary-color);
    color: white;
}

.sol-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #0B0C0D;
}

.sol-card p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    opacity: 1;
}

/* ── FEATURE SECTION (dark) ── */
.feature-section {
    background: #0A0C14;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.feature-section::after {
    content: '';
    width: 500px;
    height: 500px;
    background: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    right: -200px;
    transform: translateY(-50%);
    filter: blur(200px);
    opacity: 0.1;
    pointer-events: none;
}

.feat-item {
    display: flex;
    gap: 20px;
    padding: 28px;
    border-radius: 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    height: 100%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.feat-item:hover {
    background: rgba(255,85,0,0.05);
    border-color: rgba(255,85,0,0.2);
    transform: translateX(4px);
}

.feat-num {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(180deg, rgba(255,85,0,0.6) 0%, rgba(255,85,0,0.0) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    min-width: 48px;
}

.feat-item h4 {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.feat-item p {
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
    margin: 0;
    opacity: 1;
}

/* ── BENEFITS SECTION ── */
.benefits-section {
    padding: 100px 0;
    background: rgba(255,85,0,0.03);
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.benefit-card {
    padding: 24px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.3s;
}

.benefit-card:hover {
    border-color: rgba(255,85,0,0.2);
    box-shadow: 0 12px 32px rgba(255,85,0,0.08);
}

.benefit-card .benefit-icon {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.benefit-card h5 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: #0B0C0D;
}

.benefit-card p {
    font-size: 0.8rem;
    color: #888;
    margin: 0;
    opacity: 1;
}

/* ── HOW IT WORKS ── */
.how-section {
    padding: 100px 0;
    background: #fff;
}

.step-row {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 36px;
    padding: 28px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.3s;
    position: relative;
}

.step-row:hover {
    box-shadow: 0 12px 40px rgba(255,85,0,0.08);
    border-color: rgba(255,85,0,0.15);
}

.step-num-big {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(255,85,0,0.12);
    min-width: 60px;
    font-family: 'Gilroy', sans-serif;
}

.step-row h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: #0B0C0D;
}

.step-row p {
    font-size: 0.875rem;
    color: #888;
    margin: 0;
    opacity: 1;
}

.step-connector {
    width: 2px;
    height: 20px;
    background: linear-gradient(180deg, rgba(255,85,0,0.3) 0%, rgba(255,85,0,0) 100%);
    margin: 0 0 0 55px;
}

/* ── TESTIMONIALS ── */
.testi-agency-block {
    padding: 40px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    height: 100%;
    transition: all 0.3s;
    position: relative;
}

.testi-agency-block:hover {
    box-shadow: 0 20px 48px rgba(255,85,0,0.1);
    border-color: rgba(255,85,0,0.15);
    transform: translateY(-4px);
}

.testi-quote {
    font-size: 3rem;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 16px;
    font-family: Georgia, serif;
    opacity: 0.4;
}

.testi-agency-block p.quote-text {
    font-size: 1rem;
    color: #333;
    line-height: 1.7;
    margin-bottom: 24px;
    opacity: 1;
}

.testi-stars {
    color: #FF5500;
    font-size: 0.875rem;
    margin-bottom: 12px;
}

.testi-user-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testi-user-row img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,85,0,0.2);
}

.testi-user-row .user-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #111;
}

.testi-user-row .user-role {
    font-size: 0.8rem;
    color: #999;
}

/* ── PRICING ── */
.pricing-section {
    padding: 100px 0;
    background: #0A0C14;
    position: relative;
    overflow: hidden;
}

.pricing-section::before {
    content: '';
    width: 600px;
    height: 600px;
    background: var(--primary-color);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    filter: blur(250px);
    opacity: 0.06;
    pointer-events: none;
}

.price-card {
    padding: 40px 32px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.price-card.featured {
    border-color: rgba(255,85,0,0.4);
    background: rgba(255,85,0,0.05);
}

.price-card.featured::before {
    content: '⭐ Most Popular';
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}

.price-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255,85,0,0.3);
    box-shadow: 0 24px 60px rgba(255,85,0,0.12);
}

.price-card h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.price-card .price-amount {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
}

.price-card .price-amount span {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255,255,255,0.4);
}

.price-card .price-desc {
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
    margin-bottom: 28px;
    opacity: 1;
}

.price-divider {
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 24px 0;
}

.price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}

.price-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
}

.price-features li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ── FINAL CTA ── */
.final-cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #0A0C14 0%, #1a0a00 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.final-cta-section::before {
    content: '';
    width: 800px;
    height: 400px;
    background: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    filter: blur(200px);
    opacity: 0.15;
}

.final-cta-section h2 {
    color: #fff;
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    margin-bottom: 16px;
}

.final-cta-section p {
    color: rgba(255,255,255,0.5);
    margin-bottom: 40px;
    opacity: 1;
}

.trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 48px;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.4);
    font-size: 13px;
}

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

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }

/* floating subtle animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.float-anim {
    animation: float 6s ease-in-out infinite;
}

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
    .agency-hero { padding-top: 130px; padding-bottom: 70px; }
    .hero-stats { gap: 24px; }
    .benefit-grid { grid-template-columns: 1fr 1fr; }
    .hero-divider { display: none; }
    .problem-section, .solution-section, .feature-section,
    .benefits-section, .how-section, .pricing-section { padding: 70px 0; }
}

@media (max-width: 767px) {
    .benefit-grid { grid-template-columns: 1fr; }
    .step-connector { display: none; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .testi-agency-block { padding: 28px 20px; }
    .price-card { padding: 28px 20px; }
    .final-cta-section { padding: 80px 0; }
}