﻿/********************************************
 * RFF — ADVERTISING PAGE (CLEAN PROFESSIONAL VERSION)
 ********************************************/


/********************************************
 * AD HERO — FINAL VERSION (DO NOT DUPLICATE)
 ********************************************/
.ad-hero {
    position: relative;
    width: 100%;
    height: 380px;
    background-image: url('/assets/images/full_og_img/IMG_0274.jpg') !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: bottom center !important; /* ← this is the key */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    z-index: 1;
}


.ad-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0, 0, 0, 0.3),
        rgba(0, 0, 0, 0.65)
    );
    z-index: 1;
}

.ad-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    text-align: center;
    padding: 0 1rem;
}

.ad-hero-content h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.7rem;
    margin-bottom: 0.3rem;
    font-weight: 700;
    color: #fff;
}

.ad-hero-content .hero-sub,
.ad-hero-content .hero-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.92);
}


/********************************************
 * FORCE HERO BACKGROUND IMAGE (OVERRIDES GLOBAL)
 ********************************************/

/* Stop global hero styles from overwriting our image */


.ad-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0, 0, 0, 0.3),
        rgba(0, 0, 0, 0.65)
    );
    z-index: 1;
}

.ad-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    text-align: center;
    padding: 0 1rem;
}

.ad-hero-content h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.7rem;
    margin-bottom: 0.3rem;
    font-weight: 700;
    color: #fff;
}

.ad-hero-content .hero-sub,
.ad-hero-content .hero-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.92);
}


/* FORCE HERO BACKGROUND IMAGE (OVERRIDES GLOBAL HERO SYSTEM) */


/* Prevent global hero backgrounds from overriding ours */



/* PAGE WRAPPER */
.ad-page-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1.5rem;
    display: flex;
    gap: 2rem;
}

/********************************************
 * SIDEBAR
 ********************************************/
.ad-sidebar {
    width: 280px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 1.4rem;
    border-radius: 12px;
    backdrop-filter: blur(8px);
}

.sidebar-card h3 {
    font-family: 'Outfit', sans-serif;
    margin-bottom: 0.7rem;
    font-size: 1.15rem;
}

.sidebar-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-card li {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    opacity: 0.85;
}

.sidebar-cta button {
    width: 100%;
    padding: 0.9rem;
    background: #4f8cff;
    border: none;
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s ease;
}

.sidebar-cta button:hover {
    background: #6ba0ff;
}

/********************************************
 * MAIN CONTENT
 ********************************************/
.ad-main h2.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.9rem;
    margin: 2rem 0 1rem;
}

/********************************************
 * PRICING CARDS
 ********************************************/
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.price-card {
    background: white;
    color: #111;
    border-radius: 14px;
    padding: 1.75rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: transform .25s, box-shadow .25s;
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 26px rgba(0,0,0,0.35);
}

.price-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
}

.price-card .price {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.price-card .desc {
    font-size: 0.95rem;
    opacity: 0.8;
    flex-grow: 1;
}

.card-btn {
    padding: 0.9rem;
    border: none;
    border-radius: 10px;
    background: #4f8cff;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: .25s;
}

.card-btn:hover {
    background: #6ba0ff;
}

/********************************************
 * MULTI-STEP FORM WRAPPER
 ********************************************/
.ad-form-wrapper {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 14px;
    margin-bottom: 4rem;
    backdrop-filter: blur(6px);
}

/********************************************
 * PROGRESS BAR
 ********************************************/
.progress-bar {
    height: 8px;
    background: rgba(255,255,255,0.15);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: #4f8cff;
    transition: width .4s ease;
}

/********************************************
 * FORM STEPS
 ********************************************/
.form-step { display: none; }
.form-step.active { display: block; }

/********************************************
 * INPUT STYLING
 ********************************************/
#ad-multi-form label {
    font-size: 0.95rem;
    margin-top: 1rem;
    margin-bottom: 0.3rem;
}

#ad-multi-form input,
#ad-multi-form select,
#ad-multi-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.08);
    color: white;
    font-size: 1rem;
}

/********************************************
 * BUTTONS
 ********************************************/
.next-btn, .back-btn, .submit-btn {
    margin-top: 1.5rem;
    padding: 0.9rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: .25s ease;
}

.next-btn { background: #4f8cff; color: white; }
.back-btn { background: rgba(255,255,255,0.15); color: #fff; }
.submit-btn { background: #22c55e; color: #0f172a; }

/********************************************
 * STATUS MESSAGES
 ********************************************/
.status-box {
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    text-align: center;
}

.status-success {
    background: rgba(0,255,150,0.15);
    border: 1px solid rgba(0,255,150,0.3);
    color: #00ffb0;
}

.status-error {
    background: rgba(255,80,80,0.15);
    border: 1px solid rgba(255,80,80,0.3);
    color: #ff6666;
}

/********************************************
 * RESPONSIVE
 ********************************************/
@media (max-width: 860px) {
    .ad-page-container {
        flex-direction: column;
    }
    .ad-sidebar {
        width: 100%;
    }
}
/********************************************
 * PRICING CARDS — Modern Apple-Style
 ********************************************/
.pricing-section {
    margin: 3rem 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
}

.price-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.75rem;
    color: #111;
    box-shadow: 0 4px 22px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.35);
}

.price-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
}

.price-card .price {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0.4rem 0 0.6rem;
}

.price-card .desc {
    font-size: 0.95rem;
    opacity: 0.8;
    flex-grow: 1;
    line-height: 1.45;
}

.card-btn {
    margin-top: 1rem;
    padding: 0.85rem;
    text-align: center;
    border-radius: 12px;
    background: #4f8cff;
    border: none;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.card-btn:hover {
    background: #6ba0ff;
}
.section-title {
    font-size: 1.9rem;
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}
/* CARD ICON */
.card-icon {
    font-size: 2.2rem;
    margin-bottom: .5rem;
}

/* NEON GREEN MOST POPULAR RIBBON */
.ribbon {
    position: absolute;
    top: 14px;
    left: -8px;
    background: #34d399;
    color: #0f172a;
    padding: 4px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

/* MAKE CARD RELATIVE FOR RIBBON POSITIONING */
.price-card {
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.9s ease forwards;
}

/* STAGGERED ANIMATIONS */
.price-card:nth-child(1) { animation-delay: 0.0s; }
.price-card:nth-child(2) { animation-delay: 0.1s; }
.price-card:nth-child(3) { animation-delay: 0.2s; }
.price-card:nth-child(4) { animation-delay: 0.3s; }
.price-card:nth-child(5) { animation-delay: 0.4s; }
.price-card:nth-child(6) { animation-delay: 0.5s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* FORM GRID */
.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 1.75rem;
    margin-top: 1rem;
}

.contact-form label {
    grid-column: span 2;
    font-weight: 600;
    opacity: 0.9;
}

.contact-form textarea {
    grid-column: span 2;
    min-height: 120px;
}

.checkbox-grid {
    grid-column: span 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem 1rem;
}

.primary-btn {
    grid-column: span 2;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 700;
}
/* MODAL BACKDROP */
.ad-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* MODAL CONTENT */
.ad-modal-content {
    background: #ffffff;
    color: #111;
    width: 90%;
    max-width: 540px;
    border-radius: 14px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    position: relative;
    animation: modalIn .35s ease;
}

@keyframes modalIn {
    from { transform: translateY(30px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

/* CLOSE BUTTON */
#ad-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 2rem;
    cursor: pointer;
    color: #333;
}

/* LEARN BUTTON */
.learn-btn {
    margin-top: 0.5rem;
    padding: 0.75rem;
    border-radius: 10px;
    background: #e5e7eb;
    width: 100%;
    color: #111;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.learn-btn:hover {
    background: #d1d5db;
}
.card-icon {
    position: relative;
    cursor: help;
}

.card-icon:hover::after {
    content: attr(data-tip);
    position: absolute;
    bottom: -38px;
    left: 50%;
    transform: translateX(-50%);
    background: #111827;
    color: white;
    padding: 6px 10px;
    font-size: 0.8rem;
    border-radius: 6px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    opacity: 1;
}

.card-icon::after {
    opacity: 0;
    transition: opacity .25s ease;
}
.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    overflow: hidden;
}

.compare-table th,
.compare-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    text-align: left;
}

.compare-table th {
    background: rgba(255,255,255,0.1);
}
.price-card.selected {
    border: 2px solid #34d399;
    box-shadow: 0 0 12px rgba(52,211,153,0.45);
}
html body div.advertising-page section.ad-hero {
    height: 380px !important;
    background-image: url('/assets/images/full_og_img/IMG_0274.jpg') !important;
    display: block !important;
}
.ad-hero {
    background-position: bottom center !important;
}

/* FIX UNREADABLE SELECT DROPDOWN OPTIONS
   site.css's shared form system sets color:#fff on every <select> for
   the dark theme, which <option> elements inherit -- but native dropdown
   popups render with an opaque browser-default background, not the
   page's translucent one, so every option is white-on-white except
   whichever one the browser is currently highlighting. */
#ad-contact-form select option {
  color: #111827;
  background: #ffffff;
}

/* Advertising hero polish: final override after legacy duplicate hero rules. */
html body div.advertising-page section.ad-hero {
    min-height: 420px !important;
    height: auto !important;
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    background-position: center 62% !important;
    border-bottom: 1px solid rgba(125, 211, 252, 0.16);
}

.advertising-page .ad-hero-overlay {
    background:
        linear-gradient(90deg, rgba(6, 12, 28, 0.9) 0%, rgba(8, 18, 36, 0.76) 42%, rgba(8, 18, 36, 0.28) 100%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.66) 100%);
}

.advertising-page .ad-hero-content {
    max-width: 780px;
    text-align: left;
    padding: 4.5rem clamp(1.5rem, 7vw, 6.5rem);
}

.advertising-page .ad-hero-kicker {
    display: inline-flex;
    margin-bottom: 0.85rem;
    padding: 0.34rem 0.72rem;
    border: 1px solid rgba(45, 212, 191, 0.35);
    border-radius: 999px;
    background: rgba(20, 184, 166, 0.16);
    color: #67e8f9;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.advertising-page .ad-hero-content h1 {
    max-width: 720px;
    margin: 0 0 0.75rem;
    color: #fff;
    font-size: clamp(2.35rem, 5.2vw, 4.65rem);
    line-height: 0.96;
}

.advertising-page .ad-hero-content .hero-sub {
    max-width: 620px;
    margin: 0 0 0.75rem;
    color: rgba(255, 255, 255, 0.94);
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
    line-height: 1.45;
}

.advertising-page .ad-hero-content .hero-desc {
    max-width: 620px;
    margin: 0;
    color: rgba(226, 232, 240, 0.82);
    font-size: 1rem;
    line-height: 1.55;
}

.advertising-page .ad-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.35rem 0 1.6rem;
}

.advertising-page .ad-hero-stats span {
    display: inline-flex;
    flex-direction: column;
    min-width: 9.25rem;
    padding: 0.72rem 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.54);
    color: rgba(226, 232, 240, 0.76);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
}

.advertising-page .ad-hero-stats strong {
    color: #fff;
    font-size: 1rem;
}

.advertising-page .ad-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.advertising-page .ad-hero-primary,
.advertising-page .ad-hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.78rem 1.15rem;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
}

.advertising-page .ad-hero-primary {
    background: #14b8a6;
    color: #02111b;
    box-shadow: 0 14px 30px rgba(20, 184, 166, 0.24);
}

.advertising-page .ad-hero-secondary {
    border: 1px solid rgba(125, 211, 252, 0.45);
    background: rgba(15, 23, 42, 0.5);
    color: #bae6fd;
}

@media (max-width: 700px) {
    html body div.advertising-page section.ad-hero {
        min-height: 520px !important;
        align-items: flex-end;
        background-position: center bottom !important;
    }

    .advertising-page .ad-hero-overlay {
        background:
            linear-gradient(180deg, rgba(8, 13, 26, 0.3) 0%, rgba(8, 13, 26, 0.92) 58%, rgba(8, 13, 26, 0.98) 100%);
    }

    .advertising-page .ad-hero-content {
        padding: 5rem 1.15rem 2rem;
    }

    .advertising-page .ad-hero-stats {
        display: grid;
        grid-template-columns: 1fr;
    }

    .advertising-page .ad-hero-actions a {
        width: 100%;
    }
}

