/* ============================================================
   CineForge Studio — Master Stylesheet
   Theme: Black #0a0a0a | Gold #D4AF37 | Accent #1a1a1a
   ============================================================ */

/* --- Reset & Variables ---------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --black:      #0a0a0a;
    --black-2:    #111111;
    --black-3:    #1a1a1a;
    --black-4:    #222222;
    --gold:       #D4AF37;
    --gold-light: #F0D060;
    --gold-dark:  #A88A20;
    --white:      #ffffff;
    --grey-1:     #f5f5f5;
    --grey-2:     #aaaaaa;
    --grey-3:     #555555;
    --red:        #e53935;
    --green:      #2e7d32;

    --font-en:    'Inter', sans-serif;
    --font-title: 'Cinzel', serif;
    --font-ur:    'Noto Nastaliq Urdu', serif;

    --nav-h:      72px;
    --radius:     12px;
    --radius-lg:  20px;
    --shadow:     0 4px 24px rgba(0,0,0,0.4);
    --shadow-gold:0 0 40px rgba(212,175,55,0.2);
    --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body.cf-body {
    background: var(--black);
    color: var(--white);
    font-family: var(--font-en);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Utility -------------------------------------------------- */
.cf-gold         { color: var(--gold); }
.cf-container    { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.cf-section      { padding: 96px 0; }
.cf-section--sm  { padding: 64px 0; }
.cf-text-center  { text-align: center; }
.cf-urdu         { font-family: var(--font-ur); direction: rtl; }

/* --- Typography ----------------------------------------------- */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-title); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; font-family: var(--font-en); }
p  { color: var(--grey-2); line-height: 1.8; }
a  { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }

.cf-section-title {
    font-family: var(--font-title);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--white);
    margin-bottom: 12px;
}
.cf-section-title span { color: var(--gold); }
.cf-section-sub {
    color: var(--grey-2);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto 48px;
}
.cf-divider {
    width: 60px; height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark));
    margin: 16px auto 32px;
    border-radius: 2px;
}

/* --- Buttons -------------------------------------------------- */
.cf-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    letter-spacing: 0.3px;
}
.cf-btn--gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--black);
}
.cf-btn--gold:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212,175,55,0.35);
}
.cf-btn--ghost {
    border-color: var(--gold);
    color: var(--gold);
    background: transparent;
}
.cf-btn--ghost:hover {
    background: var(--gold);
    color: var(--black);
}
.cf-btn--dark {
    background: var(--black-3);
    color: var(--white);
    border-color: var(--black-4);
}
.cf-btn--dark:hover { border-color: var(--gold); color: var(--gold); }
.cf-btn--lg { padding: 16px 40px; font-size: 1.05rem; border-radius: 10px; }
.cf-btn--sm { padding: 8px 20px; font-size: 0.875rem; }

/* --- Nav ------------------------------------------------------ */
.cf-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--nav-h);
    background: rgba(10,10,10,0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(212,175,55,0.1);
    transition: background var(--transition), box-shadow var(--transition);
}
.cf-nav.scrolled {
    background: rgba(10,10,10,0.98);
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.cf-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.cf-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-title);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
}
.cf-logo__icon  { color: var(--gold); font-size: 1.6rem; }
.cf-logo__badge {
    font-size: 0.55rem;
    letter-spacing: 3px;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 2px 5px;
    border-radius: 3px;
    align-self: flex-end;
    margin-bottom: 3px;
}
.cf-nav__links {
    display: flex;
    align-items: center;
    gap: 4px;
}
.cf-nav__link {
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--grey-2);
    transition: all var(--transition);
}
.cf-nav__link:hover,
.cf-nav__link.active { color: var(--gold); }
.cf-nav__cta { display: flex; align-items: center; gap: 10px; }

/* --- Hamburger ------------------------------------------------ */
.cf-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.cf-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold);
    transition: all var(--transition);
    border-radius: 2px;
}
.cf-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.cf-hamburger.open span:nth-child(2) { opacity: 0; }
.cf-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Mobile Menu ---------------------------------------------- */
.cf-mobile-menu {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0; bottom: 0;
    background: var(--black-2);
    padding: 24px;
    overflow-y: auto;
    z-index: 999;
    transform: translateX(100%);
    transition: transform var(--transition);
}
.cf-mobile-menu.open { transform: translateX(0); }
.cf-mobile-menu ul { display: flex; flex-direction: column; gap: 8px; }
.cf-mobile-menu a {
    display: block;
    padding: 14px 16px;
    font-size: 1.1rem;
    color: var(--grey-2);
    border-radius: 8px;
    transition: all var(--transition);
}
.cf-mobile-menu a:hover { background: var(--black-3); color: var(--gold); }
.cf-mobile-menu__sep { height: 1px; background: var(--black-4); margin: 8px 0; }

/* --- Hero ----------------------------------------------------- */
.cf-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--nav-h);
}
.cf-hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(212,175,55,0.08) 0%, transparent 70%),
        linear-gradient(180deg, #0a0a0a 0%, #0f0d07 50%, #0a0a0a 100%);
}
.cf-hero__grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(212,175,55,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212,175,55,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}
.cf-hero__particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.cf-hero__content { position: relative; z-index: 2; max-width: 900px; padding: 0 24px; }
.cf-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212,175,55,0.1);
    border: 1px solid rgba(212,175,55,0.3);
    color: var(--gold);
    padding: 6px 18px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 24px;
}
.cf-hero__title {
    font-family: var(--font-title);
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--white);
}
.cf-hero__title .cf-gold { display: block; }
.cf-hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--grey-2);
    max-width: 640px;
    margin: 0 auto 16px;
    line-height: 1.7;
}
.cf-hero__urdu {
    font-family: var(--font-ur);
    font-size: 1.1rem;
    color: var(--gold);
    direction: rtl;
    margin-bottom: 40px;
    opacity: 0.9;
}
.cf-hero__cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 64px; }
.cf-hero__stats { display: flex; gap: 48px; justify-content: center; flex-wrap: wrap; }
.cf-hero__stat { text-align: center; }
.cf-hero__stat-num {
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    display: block;
}
.cf-hero__stat-label { font-size: 0.8rem; color: var(--grey-3); letter-spacing: 1px; text-transform: uppercase; }
.cf-hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--grey-3);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: bounceDown 2s infinite;
}
.cf-hero__scroll::after {
    content: '';
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--grey-3), transparent);
}
@keyframes bounceDown {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(8px); }
}

/* --- Cards ---------------------------------------------------- */
.cf-card {
    background: var(--black-2);
    border: 1px solid rgba(212,175,55,0.1);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.cf-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}
.cf-card:hover { border-color: rgba(212,175,55,0.3); transform: translateY(-4px); box-shadow: var(--shadow-gold); }
.cf-card:hover::before { opacity: 1; }

.cf-card__icon { font-size: 2.5rem; margin-bottom: 20px; display: block; }
.cf-card__title { font-family: var(--font-title); font-size: 1.2rem; color: var(--white); margin-bottom: 12px; }
.cf-card__body  { color: var(--grey-2); font-size: 0.95rem; line-height: 1.7; }

/* --- Grid ----------------------------------------------------- */
.cf-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cf-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cf-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* --- Pricing Card --------------------------------------------- */
.cf-pricing-card {
    background: var(--black-2);
    border: 1px solid rgba(212,175,55,0.15);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    position: relative;
    transition: all var(--transition);
}
.cf-pricing-card.featured {
    border-color: var(--gold);
    background: linear-gradient(145deg, #1a1600, #0f0d00);
    transform: scale(1.04);
}
.cf-pricing-card:hover { transform: translateY(-6px) scale(1.01); box-shadow: var(--shadow-gold); }
.cf-pricing-card.featured:hover { transform: translateY(-6px) scale(1.05); }
.cf-pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--black);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 18px;
    border-radius: 100px;
    letter-spacing: 1px;
    white-space: nowrap;
}
.cf-pricing-name { font-family: var(--font-title); font-size: 1.3rem; margin-bottom: 8px; }
.cf-pricing-price {
    font-family: var(--font-title);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--gold);
    margin: 16px 0 4px;
}
.cf-pricing-sub { font-size: 0.8rem; color: var(--grey-3); margin-bottom: 24px; }
.cf-pricing-features { list-style: none; margin-bottom: 32px; text-align: left; }
.cf-pricing-features li {
    padding: 8px 0;
    color: var(--grey-2);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.cf-pricing-features li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; }

/* --- Testimonial ---------------------------------------------- */
.cf-testimonial {
    background: var(--black-2);
    border: 1px solid rgba(212,175,55,0.1);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
}
.cf-testimonial__quote {
    font-size: 3rem;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 16px;
    opacity: 0.4;
    font-family: serif;
}
.cf-testimonial__text { color: var(--grey-2); font-style: italic; margin-bottom: 20px; line-height: 1.8; }
.cf-testimonial__author { display: flex; align-items: center; gap: 12px; }
.cf-testimonial__avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-title);
    font-size: 1.1rem;
    color: var(--black);
    font-weight: 700;
}
.cf-testimonial__name { font-weight: 600; color: var(--white); font-size: 0.95rem; }
.cf-testimonial__role { font-size: 0.8rem; color: var(--grey-3); }
.cf-stars { color: var(--gold); font-size: 0.85rem; margin-bottom: 12px; }

/* --- Process Steps -------------------------------------------- */
.cf-steps { display: flex; flex-direction: column; gap: 0; }
.cf-step {
    display: flex;
    gap: 24px;
    position: relative;
    padding-bottom: 40px;
}
.cf-step:last-child { padding-bottom: 0; }
.cf-step__num-col { display: flex; flex-direction: column; align-items: center; }
.cf-step__num {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--black);
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cf-step__line {
    flex: 1;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold-dark), transparent);
    margin-top: 8px;
    opacity: 0.3;
}
.cf-step:last-child .cf-step__line { display: none; }
.cf-step__content { padding-top: 10px; }
.cf-step__title { font-family: var(--font-title); font-size: 1.1rem; color: var(--white); margin-bottom: 8px; }
.cf-step__body  { color: var(--grey-2); font-size: 0.9rem; }

/* --- Feature Banner ------------------------------------------- */
.cf-feature-banner {
    background: linear-gradient(135deg, #0f0d00, #1a1500);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: var(--radius-lg);
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.cf-feature-banner__text h2 { font-size: clamp(1.5rem,3vw,2.2rem); }
.cf-feature-banner__text p  { color: var(--grey-2); margin-top: 8px; max-width: 500px; }

/* --- FAQ ------------------------------------------------------ */
.cf-faq-item {
    border-bottom: 1px solid rgba(212,175,55,0.1);
    overflow: hidden;
}
.cf-faq-q {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    gap: 16px;
    transition: color var(--transition);
}
.cf-faq-q:hover { color: var(--gold); }
.cf-faq-q span:last-child {
    color: var(--gold);
    font-size: 1.4rem;
    transition: transform var(--transition);
    flex-shrink: 0;
}
.cf-faq-item.open .cf-faq-q span:last-child { transform: rotate(45deg); }
.cf-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    color: var(--grey-2);
    font-size: 0.95rem;
    line-height: 1.8;
}
.cf-faq-item.open .cf-faq-a { max-height: 300px; padding-bottom: 20px; }

/* --- Forms ---------------------------------------------------- */
.cf-form { display: flex; flex-direction: column; gap: 20px; }
.cf-form-group { display: flex; flex-direction: column; gap: 6px; }
.cf-label { font-size: 0.85rem; font-weight: 600; color: var(--grey-2); letter-spacing: 0.5px; }
.cf-input, .cf-select, .cf-textarea {
    background: var(--black-3);
    border: 1.5px solid rgba(212,175,55,0.15);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--white);
    font-size: 0.95rem;
    font-family: var(--font-en);
    width: 100%;
    transition: border-color var(--transition);
    outline: none;
}
.cf-input:focus, .cf-select:focus, .cf-textarea:focus { border-color: var(--gold); }
.cf-input::placeholder, .cf-textarea::placeholder { color: var(--grey-3); }
.cf-select option { background: var(--black-3); }
.cf-textarea { resize: vertical; min-height: 120px; }
.cf-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-error  { color: var(--red);   font-size: 0.8rem; margin-top: 4px; }
.cf-success{ color: #4caf50;      font-size: 0.8rem; margin-top: 4px; }

/* --- Auth Card ------------------------------------------------ */
.cf-auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--nav-h) + 32px) 24px 48px;
    background:
        radial-gradient(ellipse 70% 50% at 50% 30%, rgba(212,175,55,0.06), transparent),
        var(--black);
}
.cf-auth-card {
    width: 100%;
    max-width: 480px;
    background: var(--black-2);
    border: 1px solid rgba(212,175,55,0.15);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
}
.cf-auth-card__logo { text-align: center; margin-bottom: 32px; }
.cf-auth-card__title {
    font-family: var(--font-title);
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 8px;
}
.cf-auth-card__sub { text-align: center; color: var(--grey-3); font-size: 0.9rem; margin-bottom: 32px; }
.cf-social-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 13px;
    background: var(--black-3);
    border: 1.5px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
}
.cf-social-btn:hover { border-color: var(--gold); background: var(--black-4); }
.cf-or {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--grey-3);
    font-size: 0.8rem;
    margin: 20px 0;
}
.cf-or::before,.cf-or::after { content:''; flex:1; height:1px; background: rgba(255,255,255,0.07); }
.cf-auth-footer { text-align: center; margin-top: 24px; color: var(--grey-3); font-size: 0.875rem; }
.cf-auth-footer a { color: var(--gold); }

/* --- Page Hero (inner pages) ---------------------------------- */
.cf-page-hero {
    padding: calc(var(--nav-h) + 64px) 0 64px;
    text-align: center;
    background: linear-gradient(180deg, rgba(212,175,55,0.04) 0%, transparent 100%);
    border-bottom: 1px solid rgba(212,175,55,0.08);
}
.cf-page-hero__tag {
    display: inline-block;
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.cf-page-hero__title { margin-bottom: 16px; }
.cf-page-hero__sub { max-width: 560px; margin: 0 auto; }

/* --- Blog Card ------------------------------------------------ */
.cf-blog-card {
    background: var(--black-2);
    border: 1px solid rgba(212,175,55,0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}
.cf-blog-card:hover { transform: translateY(-4px); border-color: rgba(212,175,55,0.3); box-shadow: var(--shadow-gold); }
.cf-blog-card__img {
    height: 200px;
    background: linear-gradient(135deg, var(--black-3), var(--black-4));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border-bottom: 1px solid rgba(212,175,55,0.08);
}
.cf-blog-card__body { padding: 24px; }
.cf-blog-card__tag {
    display: inline-block;
    background: rgba(212,175,55,0.1);
    color: var(--gold);
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 100px;
    margin-bottom: 12px;
    font-weight: 600;
}
.cf-blog-card__title { font-size: 1.05rem; font-family: var(--font-title); color: var(--white); margin-bottom: 10px; }
.cf-blog-card__title:hover { color: var(--gold); }
.cf-blog-card__excerpt { font-size: 0.875rem; color: var(--grey-2); line-height: 1.7; margin-bottom: 16px; }
.cf-blog-card__meta { font-size: 0.8rem; color: var(--grey-3); display: flex; gap: 12px; }

/* --- Toast ---------------------------------------------------- */
.cf-toast {
    position: fixed;
    bottom: 32px;
    right: 32px;
    background: var(--black-2);
    border: 1px solid rgba(212,175,55,0.3);
    border-radius: 10px;
    padding: 16px 24px;
    color: var(--white);
    font-size: 0.9rem;
    z-index: 9999;
    transform: translateY(120px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    max-width: 320px;
}
.cf-toast.show { transform: translateY(0); opacity: 1; }
.cf-toast.success { border-color: #4caf50; }
.cf-toast.error   { border-color: var(--red); }

/* --- Loader --------------------------------------------------- */
.cf-loader {
    position: fixed;
    inset: 0;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.6s, visibility 0.6s;
}
.cf-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.cf-loader__ring {
    width: 60px; height: 60px;
    border: 3px solid rgba(212,175,55,0.15);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --- Highlight Sections --------------------------------------- */
.cf-highlight-section {
    background: linear-gradient(135deg, rgba(212,175,55,0.05), transparent);
    border-top: 1px solid rgba(212,175,55,0.08);
    border-bottom: 1px solid rgba(212,175,55,0.08);
}
.cf-bg-dark  { background: var(--black-2); }
.cf-bg-black { background: var(--black); }

/* --- AI Brain Animation --------------------------------------- */
.cf-ai-brain {
    width: 120px; height: 120px;
    margin: 0 auto 24px;
    position: relative;
}
.cf-ai-brain__circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(212,175,55,0.2);
    animation: pulse 2s ease-in-out infinite;
}
.cf-ai-brain__circle:nth-child(1) { inset: 0;       animation-delay: 0s; }
.cf-ai-brain__circle:nth-child(2) { inset: 12px;    animation-delay: 0.3s; }
.cf-ai-brain__circle:nth-child(3) { inset: 24px;    animation-delay: 0.6s; border-color: var(--gold); }
.cf-ai-brain__core {
    position: absolute;
    inset: 36px;
    background: radial-gradient(circle, var(--gold), var(--gold-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--black);
}
@keyframes pulse {
    0%,100% { transform: scale(1); opacity: 0.5; }
    50%      { transform: scale(1.06); opacity: 1; }
}

/* --- Confetti (Badge / Payment) ------------------------------ */
.cf-confetti-canvas { position: fixed; inset: 0; pointer-events: none; z-index: 99998; }

/* --- Footer --------------------------------------------------- */
.cf-footer {
    background: var(--black-2);
    border-top: 1px solid rgba(212,175,55,0.1);
    padding: 80px 0 0;
}
.cf-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 64px;
}
.cf-footer__tagline { color: var(--grey-2); margin: 16px 0 4px; font-size: 0.9rem; }
.cf-footer__urdu { font-family: var(--font-ur); color: var(--gold); font-size: 0.9rem; direction: rtl; margin-bottom: 20px; }
.cf-footer__social { display: flex; gap: 12px; }
.cf-footer__social a {
    width: 36px; height: 36px;
    background: var(--black-3);
    border: 1px solid rgba(212,175,55,0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--grey-2);
    font-size: 0.9rem;
    transition: all var(--transition);
}
.cf-footer__social a:hover { border-color: var(--gold); color: var(--gold); }
.cf-footer__heading {
    font-family: var(--font-title);
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}
.cf-footer__col li { margin-bottom: 10px; }
.cf-footer__col a { color: var(--grey-3); font-size: 0.875rem; transition: color var(--transition); }
.cf-footer__col a:hover { color: var(--gold); }
.cf-footer__col li:not(:has(a)) { color: var(--grey-3); font-size: 0.875rem; }
.cf-footer__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(212,175,55,0.08);
    border: 1px solid rgba(212,175,55,0.2);
    color: var(--gold);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 16px;
}
.cf-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.cf-footer__bottom p { color: var(--grey-3); font-size: 0.85rem; }
.cf-footer__legal { display: flex; gap: 24px; }
.cf-footer__legal a { color: var(--grey-3); font-size: 0.8rem; }
.cf-footer__legal a:hover { color: var(--gold); }

/* --- WhatsApp Floating Button --------------------------------- */
.cf-whatsapp-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9000;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: all var(--transition);
    text-decoration: none;
}
.cf-whatsapp-btn:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 32px rgba(37,211,102,0.5);
    color: #fff;
}
.cf-whatsapp-btn::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(37,211,102,0.4);
    animation: whatsappPulse 2s ease-in-out infinite;
}
@keyframes whatsappPulse {
    0%,100% { transform: scale(1); opacity: 0.7; }
    50%      { transform: scale(1.15); opacity: 0; }
}

/* --- Cookie Consent Banner ------------------------------------ */
.cf-cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 8000;
    background: rgba(17,17,17,0.97);
    border-top: 1px solid rgba(212,175,55,0.2);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    backdrop-filter: blur(12px);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.cf-cookie-banner.visible { transform: translateY(0); }
.cf-cookie-banner__text { color: var(--grey-2); font-size: 0.875rem; flex: 1; min-width: 240px; }
.cf-cookie-banner__actions { display: flex; gap: 10px; }

/* --- Responsive ----------------------------------------------- */
@media (max-width: 1024px) {
    .cf-footer__grid { grid-template-columns: 1fr 1fr; }
    .cf-footer__brand { grid-column: 1 / -1; }
    .cf-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .cf-nav__links, .cf-nav__cta { display: none; }
    .cf-hamburger { display: flex; }
    .cf-mobile-menu { display: block; }
    .cf-grid-2, .cf-grid-3, .cf-grid-4 { grid-template-columns: 1fr; }
    .cf-hero__stats { gap: 24px; }
    .cf-form-row { grid-template-columns: 1fr; }
    .cf-feature-banner { text-align: center; justify-content: center; }
    .cf-auth-card { padding: 32px 24px; }
    .cf-footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .cf-footer__bottom { flex-direction: column; text-align: center; }
    .cf-pricing-card.featured { transform: scale(1); }
}
@media (max-width: 480px) {
    .cf-section { padding: 64px 0; }
    .cf-hero__cta { flex-direction: column; align-items: center; }
    .cf-toast { left: 16px; right: 16px; bottom: 16px; }
}
