/* ══════════════════════════════════════════════════════
   CruiseForge Theme — Component styles
   Loaded via style.css @import or wp_enqueue_style
════════════════════════════════════════════════════════ */

/* ── Header ── */
.cf-header{position:sticky;top:0;z-index:1000;background:rgba(2,6,23,.9);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid rgba(30,41,59,.8)}
.cf-header__inner{display:flex;align-items:center;justify-content:space-between;height:64px;gap:20px}
.cf-header__logo{display:flex;align-items:center;gap:10px;text-decoration:none;flex-shrink:0}
.cf-header__logo img{height:36px;width:auto}
.cf-header__anchor{font-size:26px;line-height:1}
.cf-header__site-name{font-size:18px;font-weight:800;color:#f59e0b;letter-spacing:-.02em}
.cf-nav{display:flex;align-items:center}
.cf-nav__list{list-style:none;display:flex;align-items:center;gap:4px;padding:0;margin:0}
.cf-nav__list a,.cf-nav__link{display:block;padding:7px 14px;color:#94a3b8;font-size:14px;font-weight:500;border-radius:8px;text-decoration:none;transition:color .15s,background .15s}
.cf-nav__list a:hover,.cf-nav__link:hover,.cf-nav__list .current-menu-item > a{color:#f1f5f9;background:rgba(255,255,255,.05)}
.cf-header__actions{display:flex;align-items:center;gap:12px}

/* Hamburger */
.cf-hamburger{display:none;flex-direction:column;justify-content:center;gap:5px;background:none;border:none;cursor:pointer;padding:6px;width:36px;height:36px}
.cf-hamburger span{display:block;height:2px;background:#94a3b8;border-radius:2px;transition:all .25s}
.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)}

@media(max-width:768px){
  .cf-hamburger{display:flex}
  .cf-nav{display:none;position:absolute;top:64px;left:0;right:0;background:#0f172a;border-bottom:1px solid #1e293b;padding:12px 0}
  .cf-nav.open{display:block}
  .cf-nav__list{flex-direction:column;gap:0}
  .cf-nav__list a{padding:12px 24px;border-radius:0}
}

/* ── App header (slim) ── */
.cf-app-header{background:#0f172a;border-bottom:1px solid #1e293b;height:56px;display:flex;align-items:center}
.cf-app-main{background:#020617;min-height:calc(100vh - 56px)}

/* ── Hero section ── */
.cf-hero{position:relative;padding:120px 0 100px;overflow:hidden}
.cf-hero__bg{position:absolute;inset:0;pointer-events:none;z-index:0}
.cf-hero__glow{position:absolute;border-radius:50%;filter:blur(80px);opacity:.4}
.cf-hero__glow--1{width:600px;height:600px;background:rgba(245,158,11,.15);top:-200px;left:-100px}
.cf-hero__glow--2{width:500px;height:500px;background:rgba(34,197,94,.1);bottom:-200px;right:-100px}
.cf-hero .cf-container{position:relative;z-index:1}
.cf-hero__headline{font-size:clamp(2rem,5vw,3.5rem);font-weight:900;letter-spacing:-.03em;line-height:1.1;max-width:820px;margin:16px auto 24px;background:linear-gradient(135deg,#f1f5f9 0%,#f59e0b 60%,#fbbf24 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.cf-hero__sub{font-size:clamp(1rem,2vw,1.2rem);color:#94a3b8;max-width:600px;margin:0 auto 40px;line-height:1.7}
.cf-hero__cta{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap}
.cf-hero__disclaimer{color:#475569;font-size:12px;margin-top:16px}

/* ── Social proof bar ── */
.cf-proof{background:#0f172a;border-top:1px solid #1e293b;border-bottom:1px solid #1e293b;padding:16px 0}
.cf-proof__inner{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 24px;font-size:14px;color:#64748b}
.cf-proof__item strong{color:#f1f5f9}
.cf-proof__sep{color:#334155}

/* ── Section headings ── */
.cf-section-title{font-size:clamp(1.6rem,3.5vw,2.4rem);font-weight:800;letter-spacing:-.02em;color:#f1f5f9;margin-bottom:12px}
.cf-section-sub{color:#64748b;font-size:16px;max-width:580px;margin:0 auto}

/* ── Steps (how it works) ── */
.cf-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:20px;margin-top:48px}
.cf-step{background:#0f172a;border:1px solid #1e293b;border-radius:16px;padding:24px 20px;text-align:center;position:relative;transition:border-color .2s,transform .2s}
.cf-step:hover{border-color:#f59e0b;transform:translateY(-3px)}
.cf-step__num{position:absolute;top:-13px;left:50%;transform:translateX(-50%);background:#f59e0b;color:#000;font-weight:800;font-size:12px;width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center}
.cf-step__icon{font-size:32px;margin:12px 0 10px}
.cf-step__title{color:#f1f5f9;font-size:15px;font-weight:700;margin-bottom:6px}
.cf-step__desc{color:#64748b;font-size:13px;line-height:1.5}

/* ── Features ── */
.cf-features{background:#0a1020}
.cf-feature-card{transition:transform .2s,border-color .2s}
.cf-feature-card:hover{transform:translateY(-3px);border-color:#f59e0b33}
.cf-feature-card__icon{font-size:32px;margin-bottom:14px}
.cf-feature-card__title{color:#f1f5f9;font-size:16px;font-weight:700;margin-bottom:8px}
.cf-feature-card__desc{color:#64748b;font-size:14px;line-height:1.6}

/* ── Pricing ── */
.cf-pricing-section{background:#020617}
.cf-pricing-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px;margin-top:48px;align-items:start}
.cf-pricing-card{position:relative;padding:32px}
.cf-pricing-card--featured{border-color:#f59e0b55;background:linear-gradient(135deg,#0f172a 0%,#1a1000 100%)}
.cf-pricing-card__badge{position:absolute;top:-13px;left:50%;transform:translateX(-50%);background:#f59e0b;color:#000;font-size:11px;font-weight:800;padding:4px 14px;border-radius:999px;white-space:nowrap;text-transform:uppercase;letter-spacing:.06em}
.cf-pricing-card__header{margin-bottom:24px}
.cf-pricing-card__name{font-size:14px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#64748b;display:block;margin-bottom:8px}
.cf-pricing-card--featured .cf-pricing-card__name{color:#f59e0b}
.cf-pricing-card__price{display:flex;align-items:baseline;gap:4px}
.cf-pricing-card__amount{font-size:42px;font-weight:900;color:#f1f5f9;line-height:1}
.cf-pricing-card__period{font-size:14px;color:#64748b}
.cf-pricing-card__features{list-style:none;padding:0;margin:0 0 28px;display:flex;flex-direction:column;gap:10px;font-size:14px;color:#94a3b8}
.cf-pricing-card__features li{display:flex;align-items:flex-start;gap:8px}
.cf-pricing-card__no{color:#475569;text-decoration:line-through}

/* ── Testimonials ── */
.cf-testimonials{background:#080e1a}
.cf-testimonial{display:flex;flex-direction:column;gap:16px}
.cf-testimonial__quote{color:#94a3b8;font-size:15px;line-height:1.7;flex:1;font-style:italic}
.cf-testimonial__author{display:flex;align-items:center;gap:12px}
.cf-testimonial__avatar{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#f59e0b,#d97706);display:flex;align-items:center;justify-content:center;font-weight:800;color:#000;font-size:16px;flex-shrink:0}
.cf-testimonial__name{display:block;color:#f1f5f9;font-weight:700;font-size:14px}
.cf-testimonial__role{display:block;color:#64748b;font-size:12px;margin-top:2px}
.cf-testimonial__stars{font-size:13px}

/* ── FAQ ── */
.cf-faq__item{border:1px solid #1e293b;border-radius:12px;margin-bottom:10px;overflow:hidden;transition:border-color .2s}
.cf-faq__item[open]{border-color:#f59e0b44}
.cf-faq__q{padding:18px 20px;cursor:pointer;color:#f1f5f9;font-size:15px;font-weight:600;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:12px;user-select:none}
.cf-faq__q::-webkit-details-marker{display:none}
.cf-faq__q::after{content:'＋';color:#f59e0b;font-size:18px;flex-shrink:0;transition:transform .2s}
details[open] .cf-faq__q::after{transform:rotate(45deg)}
.cf-faq__a{padding:0 20px 18px;color:#64748b;font-size:14px;line-height:1.7}

/* ── Final CTA ── */
.cf-cta-section{background:#020617}
.cf-cta-box{padding:60px 48px;border-color:#f59e0b33}
.cf-cta-box__emoji{font-size:56px;margin-bottom:16px}
.cf-cta-box__title{font-size:clamp(1.4rem,3vw,2rem);font-weight:800;margin-bottom:12px}
.cf-cta-box__sub{color:#64748b;font-size:16px;margin-bottom:32px;max-width:520px;margin-left:auto;margin-right:auto}

/* ── Blog grid ── */
.cf-post-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:24px}
.cf-post-card{display:flex;flex-direction:column;overflow:hidden;padding:0}
.cf-post-card__thumb img{width:100%;height:200px;object-fit:cover;transition:transform .3s}
.cf-post-card:hover .cf-post-card__thumb img{transform:scale(1.03)}
.cf-post-card__body{padding:24px;display:flex;flex-direction:column;flex:1}
.cf-post-card__title{font-size:17px;font-weight:700;margin-bottom:10px;flex:1}
.cf-post-card__title a{color:#f1f5f9;text-decoration:none;transition:color .15s}
.cf-post-card__title a:hover{color:#f59e0b}
.cf-post-card__excerpt{color:#64748b;font-size:14px;line-height:1.6;margin-bottom:16px}
.cf-post-card__footer{display:flex;align-items:center;justify-content:space-between;margin-top:auto}

/* ── Single post ── */
.cf-single__header{margin-bottom:32px}
.cf-single__title{font-size:clamp(1.6rem,4vw,2.4rem);font-weight:800;margin:12px 0}
.cf-single__meta{color:#64748b;font-size:13px}
.cf-single__thumb{border-radius:16px;overflow:hidden;margin:28px 0}
.cf-single__thumb img{width:100%;height:auto}
.cf-single__tags{display:flex;flex-wrap:wrap;gap:8px}
.cf-single__tags a{background:#1e293b;color:#94a3b8;padding:4px 12px;border-radius:999px;font-size:12px;text-decoration:none}
.cf-single__tags a:hover{color:#f59e0b}

/* ── Author box ── */
.cf-author-box__avatar{border-radius:50%;flex-shrink:0;width:64px;height:64px}
.cf-author-box__name{display:block;color:#f1f5f9;font-size:16px;margin-bottom:4px}
.cf-author-box__bio{color:#64748b;font-size:14px;line-height:1.5}

/* ── Post nav ── */
.cf-post-nav{display:flex;justify-content:space-between;gap:16px}
.cf-post-nav a{color:#94a3b8;font-size:14px;text-decoration:none;transition:color .15s}
.cf-post-nav a:hover{color:#f59e0b}

/* ── Pagination ── */
.cf-pagination .nav-links{display:flex;gap:8px;flex-wrap:wrap}
.cf-pagination .page-numbers{padding:8px 14px;border-radius:8px;background:#1e293b;color:#94a3b8;font-size:14px;text-decoration:none}
.cf-pagination .current,.cf-pagination .page-numbers:hover{background:#f59e0b;color:#000}

/* ── Page title ── */
.cf-page-title{font-size:clamp(1.8rem,4vw,2.8rem);font-weight:800;letter-spacing:-.02em;border-bottom:1px solid #1e293b;padding-bottom:20px;margin-bottom:32px}

/* ── Footer ── */
.cf-footer{background:#080e1a;border-top:1px solid #1e293b;padding:56px 0 28px}
.cf-footer__widgets{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:40px;margin-bottom:48px}
.cf-footer__bottom{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding-top:20px;border-top:1px solid #1e293b}
.cf-footer__brand{display:flex;align-items:center;gap:8px;color:#475569;font-size:13px}
.cf-footer__links{list-style:none;padding:0;margin:0;display:flex;gap:20px;flex-wrap:wrap}
.cf-footer__links a{color:#475569;font-size:13px;text-decoration:none;transition:color .15s}
.cf-footer__links a:hover{color:#94a3b8}
.cf-widget-title{color:#f1f5f9;font-size:14px;font-weight:700;margin-bottom:14px;text-transform:uppercase;letter-spacing:.06em}
.cf-widget a{color:#64748b;font-size:14px;text-decoration:none;display:block;padding:3px 0;transition:color .15s}
.cf-widget a:hover{color:#f59e0b}

/* ── Comments ── */
.cf-comments .comment-list{list-style:none;padding:0}
.cf-comments .comment-body{background:#0f172a;border:1px solid #1e293b;border-radius:12px;padding:20px;margin-bottom:16px}
.cf-comments .comment-author .fn{color:#f1f5f9;font-weight:700}
.cf-comments .comment-metadata{color:#64748b;font-size:12px;margin-top:2px}
.cf-comments .comment-content{color:#94a3b8;font-size:14px;line-height:1.6;margin-top:10px}
.cf-comments #respond{background:#0f172a;border:1px solid #1e293b;border-radius:12px;padding:28px;margin-top:24px}
.cf-comments #reply-title{color:#f1f5f9;font-size:18px;font-weight:700;margin-bottom:16px}
.cf-comments input,.cf-comments textarea{width:100%;background:#1e293b;border:1px solid #334155;border-radius:8px;color:#f1f5f9;padding:10px 14px;font-size:14px;margin-bottom:12px;outline:none;transition:border-color .15s;font-family:inherit}
.cf-comments input:focus,.cf-comments textarea:focus{border-color:#f59e0b}
.cf-comments textarea{min-height:120px;resize:vertical}
.cf-comments #submit{background:#f59e0b;color:#000;border:none;padding:11px 24px;border-radius:8px;font-weight:700;cursor:pointer;font-size:15px;transition:opacity .15s}
.cf-comments #submit:hover{opacity:.88}

@media(max-width:768px){
  .cf-hero{padding:80px 0 60px}
  .cf-cta-box{padding:40px 24px}
  .cf-pricing-grid{grid-template-columns:1fr}
  .cf-footer__bottom{flex-direction:column;align-items:flex-start}
}
