/* ============================================================
   adset.css — AdSet Page Styles
   Place in: public/css/adset.css
   Usage in blade: <link rel="stylesheet" href="{{ asset('css/adset.css') }}">
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:wght@300;400;500&display=swap');

/* ── CSS VARIABLES ── */
:root {
    --brand: #09baef;
    --brand-dark: #0799c8;
    --brand-glow: rgba(9, 186, 239, 0.18);
    --bg: #0b0f1a;
    --surface: #111827;
    --surface-2: #1a2235;
    --border: rgba(9, 186, 239, 0.15);
    --text: #e8edf5;
    --muted: #8a95a8;
    --success: #10d987;
    --font-display: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;
}

/* ── BASE ── */
body,
.adset-page * {
    margin:0;
    font-family: var(--font-body);
}

.adset-page {
    min-height: 100vh;
    color: var(--text);
}

/* ── HERO ── */
.adset-hero {
    position: relative;
    padding: 90px 0 70px;
    text-align: center;
    overflow: hidden;
}

.adset-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(9, 186, 239, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.adset-hero::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand), transparent);
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--brand);
    background: var(--brand-glow);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 6px 16px;
    margin-bottom: 24px;
}

.hero-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 8px var(--brand);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.3; }
}

.adset-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: black;
    margin-bottom: 16px;
    line-height: 1.1;
}

.adset-hero h1 span {
    color: var(--brand);
    position: relative;
}

.adset-hero .lead {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── SECTION HEADER ── */
.section-label {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 700;
    color: black;
    margin-bottom: 36px;
}

/* ── ADVANTAGE CARDS ── */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin-bottom: 60px;
}

.adv-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px 22px 20px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.adv-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, var(--brand-glow), transparent 65%);
    opacity: 0;
    transition: opacity 0.3s;
}

.adv-card:hover {
    border-color: rgba(9, 186, 239, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.adv-card:hover::before {
    opacity: 1;
}

.adv-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--brand-glow);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    font-size: 16px;
}

.adv-card h6 {
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 8px;
    letter-spacing: 0.01em;
}

.adv-card p {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.65;
    margin: 0;
}

/* ── PACKAGE TOGGLE BUTTON ── */
.pkg-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--brand);
    border: 1px solid var(--brand);
    padding: 12px 28px;
    border-radius: 10px;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
}

.pkg-toggle-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s;
    z-index: 0;
}

.pkg-toggle-btn:hover::before {
    transform: scaleX(1);
}

.pkg-toggle-btn:hover {
    color: #0b0f1a;
}

.pkg-toggle-btn span {
    position: relative;
    z-index: 1;
}

.pkg-toggle-btn .arrow {
    position: relative;
    z-index: 1;
    transition: transform 0.3s;
    font-size: 0.75rem;
}

.pkg-toggle-btn.open .arrow {
    transform: rotate(180deg);
}

/* ── HIDDEN SECTION ── */
.hidden-section {
    display: none;
}

/* ── PLAN CARDS ── */
.plan-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    height: 100%;
    transition: border-color 0.25s, box-shadow 0.25s;
    position: relative;
    overflow: hidden;
}

.plan-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand), #00e5ff);
    opacity: 0;
    transition: opacity 0.3s;
}

.plan-card:hover {
    border-color: rgba(9, 186, 239, 0.4);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.plan-card:hover::after {
    opacity: 1;
}

.plan-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--bg);
    background: var(--brand);
    border-radius: 5px;
    padding: 3px 9px;
    margin-bottom: 12px;
}

.plan-card h5 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--success);
    margin-bottom: 6px;
}

.plan-card .banner-size {
    font-size: 0.78rem;
    color: var(--muted);
    margin-bottom: 16px;
    font-weight: 500;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.price-label {
    font-size: 0.78rem;
    color: var(--muted);
    min-width: 90px;
}

.price-value {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
}

.price-value::before {
    content: '₹';
    font-size: 0.75em;
    color: var(--brand);
    margin-right: 2px;
}

.preview-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    background: var(--brand-glow);
    border: 1px solid var(--border);
    color: var(--brand);
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.preview-btn:hover {
    background: var(--brand);
    color: var(--bg);
    border-color: var(--brand);
}

/* ── MODALS ── */
.modal-content {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 16px;
    color: var(--text);
}

.modal-header {
    border-bottom: 1px solid var(--border);
    padding: 18px 22px;
}

.modal-header h5 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text);
}

.modal-body {
    padding: 22px;
}

.btn-close {
    filter: invert(1);
}

/* ── GST NOTE ── */
.gst-note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--muted);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 14px;
    margin-top: 24px;
}

/* ── CTA SECTION ── */
.cta-section {
    padding: 60px 0 40px;
    text-align: center;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 10px;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    margin: 6px;
    transition: all 0.25s;
    cursor: pointer;
}

.cta-primary {
    background: var(--brand);
    color: #0b0f1a;
    border: 1px solid var(--brand);
}

.cta-primary:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: #0b0f1a;
    box-shadow: 0 8px 24px rgba(9, 186, 239, 0.35);
    transform: translateY(-2px);
}

.cta-outline {
    background: transparent;
    color: var(--brand);
    border: 1px solid var(--border);
}

.cta-outline:hover {
    background: var(--brand-glow);
    border-color: rgba(9, 186, 239, 0.5);
    color: var(--brand);
    transform: translateY(-2px);
}

/* ── DIVIDER ── */
.pkg-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 40px 0;
}

.sub-section-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
}