/* =============================================


   PixelMind AI — Main Stylesheet


   ============================================= */





@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');





/* ---- CSS Variables ---- */


:root {


    --bg-primary: #0a0a0f;


    --bg-secondary: #0f0f18;


    --bg-card: rgba(255, 255, 255, 0.04);


    --bg-card-hover: rgba(255, 255, 255, 0.07);


    --border: rgba(255, 255, 255, 0.08);


    --border-focus: #8dc63f;


    --text-primary: #f1f5f9;


    --text-secondary: #94a3b8;


    --text-muted: #64748b;


    --purple: #c7e26b;


    --purple-light: #c7e26b;


    --purple-dark: #8dc63f;


    --blue: #3b82f6;


    --cyan: #06b6d4;


    --pink: #ec4899;


    --green: #10b981;


    --yellow: #f59e0b;


    --red: #ef4444;


    --grad-1: linear-gradient(135deg, #8dc63f 0%, #c7e26b 100%);


    --grad-2: linear-gradient(135deg, #ec4899 0%, #8dc63f 100%);


    --grad-3: linear-gradient(135deg, #c7e26b 0%, #8dc63f 100%);


    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);


    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);


    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);


    --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.25);


    --radius: 12px;


    --radius-lg: 16px;


    --radius-xl: 24px;


}





/* ---- Reset ---- */


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }


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


body {


    font-family: 'Inter', system-ui, sans-serif;


    background: var(--bg-primary);


    color: var(--text-primary);


    line-height: 1.6;


    -webkit-font-smoothing: antialiased;


    overflow-x: hidden;


}


a { color: inherit; text-decoration: none; }


img { max-width: 100%; height: auto; display: block; }


button { cursor: pointer; border: none; background: none; font-family: inherit; }


input, select, textarea { font-family: inherit; }


ul { list-style: none; }





/* ---- Typography ---- */


h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.2; letter-spacing: -0.5px; }


h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; }


h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }


h3 { font-size: 1.4rem; }


h4 { font-size: 1.1rem; font-weight: 600; }


p { color: var(--text-secondary); }





/* ---- Utility ---- */


.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }


.container-sm { max-width: 800px; margin: 0 auto; padding: 0 24px; }


.text-gradient {


    background: var(--grad-1);


    -webkit-background-clip: text;


    -webkit-text-fill-color: transparent;


    background-clip: text;


}


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


.d-flex { display: flex; }


.align-center { align-items: center; }


.justify-between { justify-content: space-between; }


.gap-1 { gap: 8px; }


.gap-2 { gap: 16px; }


.gap-3 { gap: 24px; }


.mt-1 { margin-top: 8px; }


.mt-2 { margin-top: 16px; }


.mt-3 { margin-top: 24px; }


.mb-1 { margin-bottom: 8px; }


.mb-2 { margin-bottom: 16px; }


.mb-3 { margin-bottom: 24px; }





/* ---- Glow Orbs (decorative) ---- */


.glow-orb {


    position: absolute;


    border-radius: 50%;


    filter: blur(80px);


    pointer-events: none;


    opacity: 0.15;


}


.glow-purple { background: var(--purple); }


.glow-blue { background: var(--blue); }


.glow-pink { background: var(--pink); }





/* ============================================= */


/* BUTTONS */


/* ============================================= */


.btn {


    display: inline-flex;


    align-items: center;


    justify-content: center;


    gap: 8px;


    padding: 12px 28px;


    border-radius: 100px;


    font-size: 15px;


    font-weight: 600;


    transition: all 0.2s ease;


    white-space: nowrap;


    position: relative;


    overflow: hidden;


}


.btn-primary {


    background: var(--grad-1);


    color: #fff;


    box-shadow: 0 4px 20px rgb(58 237 138 / 40%);
    border: 0;


}


.btn-primary:hover {


    transform: translateY(-2px);


    box-shadow: 0 4px 23px rgb(58 237 138 / 40%);


}


.btn-secondary {


    background: var(--bg-card);


    color: var(--text-primary);


    border: 1px solid var(--border);


}


.btn-secondary:hover {


    background: var(--bg-card-hover);


    border-color: rgba(255,255,255,0.15);


}


.btn-outline {


    background: transparent;


    color: var(--purple-light);


    border: 1px solid rgba(124, 58, 237, 0.5);


}


.btn-outline:hover {


    background: rgba(124, 58, 237, 0.1);


    border-color: var(--purple);


}


.btn-danger {


    background: rgba(239, 68, 68, 0.1);


    color: var(--red);


    border: 1px solid rgba(239, 68, 68, 0.3);


}


.btn-danger:hover { background: rgba(239, 68, 68, 0.2); }


.btn-sm { padding: 8px 18px; font-size: 13px; border-radius: 100px; }


.btn-lg { padding: 16px 36px; font-size: 17px; }


.btn-block { width: 100%; }


.btn:disabled, .btn.loading {


    opacity: 0.7;


    cursor: not-allowed;


    pointer-events: none;


}


.btn .spinner {


    width: 16px; height: 16px;


    border: 2px solid rgba(255,255,255,0.3);


    border-top-color: #fff;


    border-radius: 50%;


    animation: spin 0.7s linear infinite;


    display: none;


}


.btn.loading .spinner { display: block; }


.btn.loading .btn-text { opacity: 0.7; }


@keyframes spin { to { transform: rotate(360deg); } }





/* ============================================= */


/* FORMS */


/* ============================================= */


.form-group { margin-bottom: 20px; }


.form-label {


    display: block;


    font-size: 13px;


    font-weight: 500;


    color: var(--text-secondary);


    margin-bottom: 8px;


    letter-spacing: 0.3px;


}


.form-control {


    width: 100%;


    padding: 12px 16px;


    background: rgba(255,255,255,0.05);


    border: 1px solid var(--border);


    border-radius: 10px;


    color: var(--text-primary);


    font-size: 15px;


    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;


    -webkit-appearance: none;


}


.form-control:focus {


    outline: none;


    border-color: var(--purple);


    background: rgb(87 237 58 / 3%);


    box-shadow: 0 0 0 3px rgb(127 237 58 / 15%);


}


.form-control::placeholder { color: var(--text-muted); }


.form-control.error {


    border-color: rgba(239, 68, 68, 0.85);


    background: rgba(239, 68, 68, 0.06);


    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);


}


.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }


.error-msg {


    display: flex;


    align-items: flex-start;


    gap: 7px;


    width: 100%;


    min-height: 18px;


    margin-top: 8px;


    padding: 8px 10px;


    border: 1px solid rgb(215 10 10 / 22%);


    border-radius: 8px;


    background: rgba(239, 68, 68, 0.08);


    color: #b92525;


    font-size: 12px;


    font-weight: 500;


    line-height: 1.35;


}


.error-msg::before {


    content: '!';


    display: inline-flex;


    align-items: center;


    justify-content: center;


    flex: 0 0 16px;


    width: 16px;


    height: 16px;


    margin-top: 1px;


    border-radius: 50%;


    background: rgba(239, 68, 68, 0.18);


    color: #b92525;


    font-size: 11px;


    font-weight: 800;


    line-height: 1;


}


.form-group .error-msg:empty { display: none; }


select.form-control {


    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%2394a3b8'%3E%3Cpath d='M0 0l6 8 6-8z'/%3E%3C/svg%3E");


    background-repeat: no-repeat;


    background-position: right 14px center;


    padding-right: 40px;


}





/* ============================================= */


/* NAVIGATION */


/* ============================================= */


.navbar {


    position: fixed;


    top: 0;


    left: 0;


    right: 0;


    z-index: 1000;


    padding: 16px 0;


    transition: background 0.3s, border-color 0.3s, padding 0.3s;


    border-bottom: 1px solid transparent;


}


.navbar.scrolled {


    background: rgba(10, 10, 15, 0.92);


    border-bottom-color: var(--border);


    backdrop-filter: blur(20px);


    padding: 12px 0;


}


.nav-inner {


    display: flex;


    align-items: center;


    justify-content: space-between;


    width: 100%;


}


.nav-logo {


    display: flex;


    align-items: center;


    gap: 10px;


    font-size: 20px;


    font-weight: 800;


    letter-spacing: -0.5px;


    max-width: 150px;


}


.nav-logo .logo-icon {


    width: 36px;


    height: 36px;


    background: var(--grad-1);


    border-radius: 10px;


    display: flex;


    align-items: center;


    justify-content: center;


    font-size: 18px;


}


.nav-logo span { color: var(--text-primary); }


.nav-logo em { color: var(--purple-light); font-style: normal; }


.nav-links {


    display: flex;


    align-items: center;


    gap: 8px;


}


.nav-links a {


    color: var(--text-secondary);


    font-size: 14px;


    font-weight: 500;


    padding: 8px 14px;


    border-radius: 8px;


    transition: color 0.2s, background 0.2s;


}


.nav-links a:hover { color: var(--text-primary); background: rgba(255,255,255,0.06); }


.nav-actions { display: flex; align-items: center; gap: 12px; }





/* User dropdown */


.user-dropdown { position: relative; }


.user-btn {


    display: flex;


    align-items: center;


    gap: 10px;


    padding: 8px 14px;


    background: var(--bg-card);


    border: 1px solid var(--border);


    border-radius: 40px;


    color: var(--text-primary);


    font-size: 14px;


    font-weight: 500;


    transition: all 0.2s;


    cursor: pointer;


}


.user-btn:hover { background: var(--bg-card-hover); border-color: rgba(255,255,255,0.15); }


.user-avatar {


    width: 28px; height: 28px;


    background: var(--grad-1);


    border-radius: 50%;


    display: flex;


    align-items: center;


    justify-content: center;


    font-size: 12px;


    font-weight: 700;


    color: #fff;


}


.dropdown-menu {


    display: block; /* override Bootstrap's display:none */


    pointer-events: none;


    position: absolute;


    top: calc(100% + 10px);


    right: 0;


    background: #181825;


    border: 1px solid var(--border);


    border-radius: var(--radius);


    padding: 8px;


    min-width: 220px;


    box-shadow: var(--shadow-lg);


    opacity: 0;


    visibility: hidden;


    transform: translateY(-8px);


    transition: all 0.2s ease;


    z-index: 100;


}


.user-dropdown:hover .dropdown-menu,


.dropdown-menu.open {


    pointer-events: auto;


    opacity: 1;


    visibility: visible;


    transform: translateY(0);


}


.dropdown-header {


    padding: 10px 12px 14px;


    border-bottom: 1px solid var(--border);


    margin-bottom: 8px;


}


.dropdown-header .user-email {


    font-size: 13px;


    color: var(--text-secondary);


    word-break: break-all;


}


.dropdown-header .user-plan {


    font-size: 11px;


    color: var(--purple-light);


    font-weight: 600;


    margin-top: 4px;


    text-transform: uppercase;


    letter-spacing: 0.5px;


}


.dropdown-item {


    display: flex;


    align-items: center;


    gap: 10px;


    padding: 10px 12px;


    border-radius: 8px;


    font-size: 14px;


    color: var(--text-secondary);


    transition: all 0.15s;


}


.dropdown-item:hover { background: var(--bg-card-hover); color: var(--text-primary); }


.dropdown-item.danger { color: var(--red); }


.dropdown-item.danger:hover { background: rgba(239, 68, 68, 0.1); }


.dropdown-divider { height: 1px; background: var(--border); margin: 8px 0; }





/* Mobile hamburger */


.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; }


.hamburger span { display: block; width: 22px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: all 0.3s; }





/* ============================================= */


/* HERO SECTION */


/* ============================================= */


.hero {


    min-height: 100vh;


    display: flex;


    align-items: center;


    position: relative;


    overflow: hidden;


    padding: 120px 0 80px;


}


.hero-bg {


    position: absolute;


    inset: 0;


    background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(124, 58, 237, 0.2) 0%, transparent 70%);


}


.hero-grid-lines {


    position: absolute;


    inset: 0;


    background-image:


        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),


        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);


    background-size: 60px 60px;


}


.hero-orb-1 { width: 600px; height: 600px; top: -200px; right: -200px; }


.hero-orb-2 { width: 400px; height: 400px; bottom: -100px; left: -100px; background: var(--blue) !important; }


.hero-content { position: relative; z-index: 2; max-width: 700px; }


.hero-badge {


    display: inline-flex;


    align-items: center;


    gap: 8px;


    background: rgba(124, 58, 237, 0.15);


    border: 1px solid rgba(124, 58, 237, 0.3);


    border-radius: 40px;


    padding: 6px 16px;


    font-size: 13px;


    font-weight: 600;


    color: var(--purple-light);


    margin-bottom: 24px;


}


.hero-badge .dot {


    width: 6px; height: 6px;


    background: var(--purple-light);


    border-radius: 50%;


    animation: pulse 2s ease-in-out infinite;


}


@keyframes pulse {


    0%, 100% { opacity: 1; transform: scale(1); }


    50% { opacity: 0.5; transform: scale(0.7); }


}


.hero h1 { margin-bottom: 24px; }


.hero p { font-size: 18px; margin-bottom: 40px; max-width: 540px; color: var(--text-secondary); line-height: 1.7; }


.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }


.hero-stats {


    display: flex;


    gap: 40px;


    margin-top: 56px;


    padding-top: 40px;


    border-top: 1px solid var(--border);


}


.hero-stat .number { font-size: 2rem; font-weight: 800; color: var(--text-primary); }


.hero-stat .label { font-size: 13px; color: var(--text-muted); margin-top: 2px; }


.hero-visual {


    position: absolute;


    right: 0;


    top: 50%;


    transform: translateY(-50%);


    width: 45%;


    max-width: 600px;


}


.hero-mockup {


    background: rgba(255,255,255,0.04);


    border: 1px solid var(--border);


    border-radius: 20px;


    overflow: hidden;


    box-shadow: var(--shadow-lg), var(--shadow-glow);


}


.mockup-bar {


    display: flex;


    align-items: center;


    gap: 6px;


    padding: 12px 16px;


    background: rgba(255,255,255,0.03);


    border-bottom: 1px solid var(--border);


}


.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }


.mockup-preview {


    padding: 24px;


    display: grid;


    grid-template-columns: 1fr 1fr;


    gap: 12px;


}


.preview-img {


    border-radius: 8px;


    height: 120px;


    background: linear-gradient(135deg, #1a1a2e, #16213e);


    position: relative;


    overflow: hidden;


}


.preview-img::after {


    content: '';


    position: absolute;


    inset: 0;


    background: var(--grad-1);


    opacity: 0.3;


}


.ai-badge-float {


    position: absolute;


    bottom: 8px;


    left: 8px;


    background: rgba(124, 58, 237, 0.9);


    border-radius: 6px;


    padding: 3px 8px;


    font-size: 10px;


    font-weight: 700;


    color: #fff;


    z-index: 2;


}





/* ============================================= */


/* SECTION HEADINGS */


/* ============================================= */


.section { padding: 100px 0; }


.section-sm { padding: 60px 0; }


.section-label {


    display: inline-flex;


    align-items: center;


    gap: 8px;


    background: rgba(124, 58, 237, 0.1);


    border: 1px solid rgba(124, 58, 237, 0.2);


    border-radius: 40px;


    padding: 5px 14px;


    font-size: 12px;


    font-weight: 600;


    color: var(--purple-light);


    text-transform: uppercase;


    letter-spacing: 1px;


    margin-bottom: 20px;


}


.section-title { margin-bottom: 16px; }


.section-desc { font-size: 17px; max-width: 560px; margin: 0 auto 64px; }





/* ============================================= */


/* FEATURES GRID */


/* ============================================= */


.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }


.feature-card {


    background: var(--bg-card);


    border: 1px solid var(--border);


    border-radius: var(--radius-lg);


    padding: 32px;


    transition: all 0.3s ease;


    position: relative;


    overflow: hidden;


}


.feature-card::before {


    content: '';


    position: absolute;


    inset: 0;


    background: var(--grad-1);


    opacity: 0;


    transition: opacity 0.3s;


}


.feature-card:hover {


    border-color: rgba(124, 58, 237, 0.4);


    transform: translateY(-4px);


    box-shadow: var(--shadow-lg), 0 0 40px rgba(124, 58, 237, 0.1);


}


.feature-card:hover::before { opacity: 0.03; }


.feature-icon {


    width: 52px; height: 52px;


    border-radius: 14px;


    display: flex;


    align-items: center;


    justify-content: center;


    font-size: 24px;


    margin-bottom: 20px;


    position: relative;


}


.feature-icon.purple { background: rgba(124, 58, 237, 0.15); }


.feature-icon.blue { background: rgba(59, 130, 246, 0.15); }


.feature-icon.cyan { background: rgba(6, 182, 212, 0.15); }


.feature-icon.pink { background: rgba(236, 72, 153, 0.15); }


.feature-icon.green { background: rgba(16, 185, 129, 0.15); }


.feature-icon.yellow { background: rgba(245, 158, 11, 0.15); }


.feature-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--text-primary); }


.feature-card p { font-size: 14px; line-height: 1.7; }





/* ============================================= */


/* HOW IT WORKS */


/* ============================================= */


.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }


.steps::before {


    content: '';


    position: absolute;


    top: 28px;


    left: calc(50% - 33%);


    width: calc(66%);


    height: 1px;


    background: linear-gradient(90deg, transparent, var(--purple), var(--blue), transparent);


}


.step { text-align: center; }


.step-number {


    width: 56px; height: 56px;


    border-radius: 50%;


    background: var(--grad-1);


    display: flex;


    align-items: center;


    justify-content: center;


    font-size: 20px;


    font-weight: 800;


    color: #fff;


    margin: 0 auto 24px;


    box-shadow: 0 0 30px rgba(124, 58, 237, 0.4);


}


.step h3 { margin-bottom: 12px; }


.step p { font-size: 14px; }





/* ============================================= */


/* PRICING */


/* ============================================= */


.pricing-grid {


    display: grid;


    grid-template-columns: repeat(5, 1fr);


    gap: 20px;


    align-items: start;


}


.pricing-card {


    background: var(--bg-card);


    border: 1px solid var(--border);


    border-radius: var(--radius-lg);


    padding: 28px 24px;


    position: relative;


    transition: all 0.3s ease;


    display: flex;


    flex-direction: column;


}


.pricing-card:hover {


    border-color: rgba(124, 58, 237, 0.3);


    transform: translateY(-4px);


    box-shadow: var(--shadow-lg);


}


.pricing-card.popular {


    border-color: var(--purple);


    background: rgba(124, 58, 237, 0.07);


    transform: translateY(-8px);


    box-shadow: var(--shadow-glow), var(--shadow-lg);


}


.pricing-card.popular:hover { transform: translateY(-12px); }


.popular-badge {


    position: absolute;


    top: -12px;


    left: 50%;


    transform: translateX(-50%);


    background: var(--grad-1);


    color: #fff;


    font-size: 11px;


    font-weight: 700;


    padding: 4px 14px;


    border-radius: 20px;


    text-transform: uppercase;


    letter-spacing: 0.5px;


    white-space: nowrap;


}


.pricing-name { font-size: 14px; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }


.pricing-price { margin-bottom: 20px; }


.pricing-amount {


    font-size: 2.2rem;


    font-weight: 800;


    color: var(--text-primary);


    line-height: 1;


}


.pricing-period { font-size: 13px; color: var(--text-muted); margin-top: 4px; }


.pricing-divider { height: 1px; background: var(--border); margin: 20px 0; }


.pricing-features { flex: 1; margin-bottom: 24px; }


.pricing-feature {


    display: flex;


    align-items: flex-start;


    gap: 10px;


    padding: 6px 0;


    font-size: 13px;


    color: var(--text-secondary);


}


.pricing-feature .check { color: var(--green); font-size: 14px; flex-shrink: 0; margin-top: 1px; }


.pricing-card.popular .pricing-feature { color: var(--text-primary); }





/* ============================================= */


/* CTA SECTION */


/* ============================================= */


.cta-section {


    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(59, 130, 246, 0.1) 100%);


    border: 1px solid rgba(124, 58, 237, 0.2);


    border-radius: var(--radius-xl);


    padding: 80px 60px;


    text-align: center;


    position: relative;


    overflow: hidden;


}


.cta-section h2 { margin-bottom: 16px; }


.cta-section p { margin-bottom: 40px; font-size: 17px; }


.cta-actions { display: flex; gap: 16px; justify-content: center; }





/* ============================================= */


/* FOOTER */


/* ============================================= */


footer {


    border-top: 1px solid var(--border);


    padding: 60px 0 30px;


    margin-top: 60px;


}


.footer-grid {


    display: grid;


    grid-template-columns: 2fr 1fr 1fr 1fr;


    gap: 48px;


    margin-bottom: 48px;


}


.footer-brand p { font-size: 14px; margin-top: 12px; line-height: 1.7; max-width: 260px; }


.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 16px; }


.footer-col a {


    display: block;


    font-size: 14px;


    color: var(--text-secondary);


    padding: 5px 0;


    transition: color 0.2s;


}


.footer-col a:hover { color: var(--purple-light); }


.footer-bottom {


    border-top: 1px solid var(--border);


    padding-top: 24px;


    display: flex;


    align-items: center;


    justify-content: space-between;


    font-size: 13px;


    color: var(--text-muted);


}





/* ============================================= */


/* AUTH PAGES (login, register, forgot, reset)  */


/* ============================================= */


.auth-page {


    min-height: 100vh;


    display: flex;


    align-items: center;


    justify-content: center;


    padding: 40px 24px;


    background: var(--bg-primary);


    position: relative;


    overflow: hidden;


}


.auth-bg {


    position: absolute;


    inset: 0;


    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124, 58, 237, 0.15) 0%, transparent 70%);


}


.auth-card {


    width: 100%;


    max-width: 460px;


    background: #111118;


    border: 1px solid var(--border);


    border-radius: var(--radius-xl);


    padding: 48px 40px;


    position: relative;


    z-index: 2;


    box-shadow: var(--shadow-lg);


}


.auth-logo {


    text-align: center;


    margin-bottom: 32px;


}


.auth-logo .logo-mark {


    max-width: 150px;


    /* height: 56px; */


    border-radius: 16px;


    display: inline-flex;


    align-items: center;


    justify-content: center;


    font-size: 28px;


    margin-bottom: 25px;


}


.auth-logo h2 { font-size: 1.5rem; margin-bottom: 8px; }


.auth-logo p { font-size: 14px; }


.auth-divider {


    display: flex;


    align-items: center;


    gap: 12px;


    margin: 20px 0;


}


.auth-divider span { flex: 1; height: 1px; background: var(--border); }


.auth-divider em { font-style: normal; font-size: 12px; color: var(--text-muted); }


.auth-footer { text-align: center; margin-top: 24px; font-size: 14px; color: var(--text-secondary); }


.auth-footer a { color: var(--purple-light); font-weight: 500; }


.auth-footer a:hover { text-decoration: underline; }





/* ============================================= */


/* CHECKOUT PAGE */


/* ============================================= */


.checkout-page { padding: 120px 0 60px; min-height: 100vh; }


.checkout-grid { display: grid; grid-template-columns: 1fr 380px; gap: 40px; }


.checkout-form-card, .checkout-summary {


    background: #111118;


    border: 1px solid var(--border);


    border-radius: var(--radius-xl);


    padding: 36px;


}


.checkout-form-card h2 { font-size: 1.4rem; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }


.section-subtitle { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 20px; margin-top: 28px; }


.checkout-summary h3 { font-size: 1.1rem; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }


.summary-package {


    background: rgba(124, 58, 237, 0.08);


    border: 1px solid rgba(124, 58, 237, 0.2);


    border-radius: var(--radius);


    padding: 20px;


    margin-bottom: 24px;


}


.summary-package .pkg-name { font-size: 18px; font-weight: 700; margin-bottom: 4px; }


.summary-package .pkg-price { font-size: 28px; font-weight: 800; color: var(--purple-light); }


.summary-package .pkg-period { font-size: 13px; color: var(--text-muted); }


.summary-features { margin-bottom: 24px; }


.summary-feature {


    display: flex;


    align-items: center;


    gap: 10px;


    padding: 8px 0;


    font-size: 13px;


    color: var(--text-secondary);


    border-bottom: 1px solid rgba(255,255,255,0.04);


}


.summary-feature:last-child { border-bottom: 0; }


.summary-feature .check { color: var(--green); }


.summary-total {


    background: rgba(255,255,255,0.03);


    border-radius: var(--radius);


    padding: 16px;


    display: flex;


    justify-content: space-between;


    align-items: center;


    font-weight: 700;


    font-size: 16px;


}


.summary-total .amount { color: var(--purple-light); font-size: 20px; }


.checkout-secure {


    display: flex;


    align-items: center;


    gap: 8px;


    font-size: 12px;


    color: var(--text-muted);


    margin-top: 16px;


}





/* ============================================= */


/* CARD TYPE SELECTOR                            */


/* ============================================= */


.card-type-selector { display: flex; gap: 12px; flex-wrap: wrap; }


.card-type-radio { display: none; }


.card-type-label {


    border: 2px solid var(--border);


    border-radius: 10px;


    padding: 10px 18px;


    cursor: pointer;


    transition: border-color .2s, background .2s, box-shadow .2s;


    background: var(--bg-secondary);


    min-width: 110px;


    display: flex;


    align-items: center;


    justify-content: center;


    height: 54px;


}


.card-type-label:hover { border-color: var(--purple); }


.card-type-radio:checked + .card-type-label {


    border-color: var(--purple);


    background: rgba(124, 58, 237, 0.12);


    box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.25);


}


/* Visa */


.cbl-visa {


    font-size: 17px;


    font-weight: 900;


    font-style: italic;


    letter-spacing: 2px;


    color: #1a1f71;


    background: #fff;


    padding: 3px 9px;


    border-radius: 4px;


}


/* Mastercard */


.cbl-mc { display: flex; align-items: center; gap: 0; position: relative; }


.cbl-mc-red  { font-size: 22px; color: #eb001b; }


.cbl-mc-orange { font-size: 22px; color: #f79e1b; margin-left: -10px; }


.cbl-mc-text {


    font-size: 10px;


    font-weight: 700;


    letter-spacing: .5px;


    color: var(--text-secondary);


    margin-left: 7px;


    text-transform: lowercase;


}


/* Discover */


.cbl-discover {


    font-size: 11px;


    font-weight: 900;


    letter-spacing: 1.5px;


    color: #231f20;


    background: linear-gradient(120deg, #fff 55%, #f76f20 55%);


    padding: 5px 10px;


    border-radius: 5px;


}


/* Card number input */


.card-number-wrap { position: relative; }


.card-num-icon {


    position: absolute;


    left: 14px;


    top: 50%;


    transform: translateY(-50%);


    color: var(--text-muted);


    pointer-events: none;


    z-index: 1;


}


.card-num-input { padding-left: 40px !important; letter-spacing: 2px; }





/* Input with icon (password toggle) */


.input-with-icon { position: relative; }


.input-with-icon .form-control { padding-right: 44px; }


.toggle-password {


    position: absolute;


    right: 12px;


    top: 50%;


    transform: translateY(-50%);


    background: transparent;


    border: none;


    padding: 0;


    color: var(--text-muted);


    cursor: pointer;


    line-height: 1;


    transition: color .2s;


}


.toggle-password:hover { color: var(--purple-light); }





/* ============================================= */


/* THANK YOU PAGE */


/* ============================================= */


.thankyou-page {


    min-height: 100vh;


    display: flex;


    align-items: center;


    justify-content: center;


    padding: 60px 24px;


}


.thankyou-card {


    max-width: 560px;


    width: 100%;


    background: #111118;


    border: 1px solid var(--border);


    border-radius: var(--radius-xl);


    padding: 60px 48px;


    text-align: center;


}


.success-icon {


    max-width: 150px;


    display: flex;


    align-items: center;


    justify-content: center;


    margin: 0 auto 28px;


    font-size: 36px;


    animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);


}


@keyframes popIn {


    from { transform: scale(0); opacity: 0; }


    to { transform: scale(1); opacity: 1; }


}


.thankyou-card h1 { font-size: 2rem; margin-bottom: 12px; }


.thankyou-card .sub { font-size: 16px; margin-bottom: 32px; }


.order-details {


    background: var(--bg-card);


    border: 1px solid var(--border);


    border-radius: var(--radius);


    padding: 24px;


    margin-bottom: 32px;


    text-align: left;


}


.order-detail-row {


    display: flex;


    justify-content: space-between;


    align-items: center;


    padding: 10px 0;


    border-bottom: 1px solid rgba(255,255,255,0.04);


    font-size: 14px;


}


.order-detail-row:last-child { border-bottom: 0; }


.order-detail-row .key { color: var(--text-muted); }


.order-detail-row .val { color: var(--text-primary); font-weight: 500; }


.thankyou-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }





/* ============================================= */


/* TB-BTN-ICON (editor topbar icon btn, reused on dashboard) */


/* ============================================= */


.tb-btn-icon {


    width: 34px; height: 34px;


    display: flex; align-items: center; justify-content: center;


    border-radius: 8px;


    background: var(--bg-card);


    border: 1px solid var(--border);


    color: var(--text-secondary);


    font-size: 16px;


    cursor: pointer;


    transition: all 0.2s;


}


.tb-btn-icon:hover { background: var(--bg-card-hover); color: var(--text-primary); border-color: rgba(255,255,255,0.15); }





/* ============================================= */


/* DASHBOARD */


/* ============================================= */


.dashboard-layout { display: flex; min-height: 100vh; }


.sidebar {


    width: 260px;


    background: #0d0d16;


    border-right: 1px solid var(--border);


    position: fixed;


    top: 0;


    left: 0;


    height: 100vh;


    overflow-y: auto;


    z-index: 100;


    display: flex;


    flex-direction: column;


    transition: transform 0.3s;


}


.sidebar-logo {


    padding: 24px 20px;


    border-bottom: 1px solid var(--border);


    display: flex;


    align-items: center;


    gap: 10px;


}


.sidebar-logo .logo-icon {


    width: 34px; height: 34px;


    background: var(--grad-1);


    border-radius: 10px;


    display: flex;


    align-items: center;


    justify-content: center;


    font-size: 16px;


}


.sidebar-logo span { font-size: 17px; font-weight: 800; letter-spacing: -0.5px; }


.sidebar-nav { padding: 20px 12px; flex: 1; }


.nav-section { margin-bottom: 28px; }


.nav-section-label {


    font-size: 10px;


    font-weight: 700;


    text-transform: uppercase;


    letter-spacing: 1.5px;


    color: var(--text-muted);


    padding: 0 12px;


    margin-bottom: 8px;


}


.nav-item {


    display: flex;


    align-items: center;


    gap: 10px;


    padding: 10px 12px;


    border-radius: 10px;


    font-size: 14px;


    font-weight: 500;


    color: var(--text-secondary);


    transition: all 0.2s;


    margin-bottom: 2px;


}


.nav-item:hover { background: var(--bg-card-hover); color: var(--text-primary); }


.nav-item.active {


    background: rgba(124, 58, 237, 0.15);


    color: var(--purple-light);


    border: 1px solid rgba(124, 58, 237, 0.2);


}


.nav-item .icon { width: 18px; text-align: center; font-size: 16px; }


.sidebar-bottom {


    padding: 20px 12px;


    border-top: 1px solid var(--border);


}


.user-info-sidebar {


    display: flex;


    align-items: center;


    gap: 12px;


    padding: 10px 12px;


    border-radius: 10px;


    background: var(--bg-card);


}


.sidebar-avatar {


    width: 36px; height: 36px;


    border-radius: 50%;


    background: var(--grad-1);


    display: flex;


    align-items: center;


    justify-content: center;


    font-size: 14px;


    font-weight: 700;


    color: #fff;


    flex-shrink: 0;


}


.sidebar-user-info .name { font-size: 13px; font-weight: 600; color: var(--text-primary); }


.sidebar-user-info .plan { font-size: 11px; color: var(--purple-light); font-weight: 600; }


.main-content { margin-left: 260px; flex: 1; min-height: 100vh; }


.dash-header {


    padding: 24px 32px;


    border-bottom: 1px solid var(--border);


    display: flex;


    align-items: center;


    justify-content: space-between;


    background: rgba(10,10,15,0.7);


    backdrop-filter: blur(10px);


    position: sticky;


    top: 0;


    z-index: 50;


}


.dash-header h1 { font-size: 1.4rem; }


.dash-body { padding: 32px; }


.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; }


.stat-card {


    background: #111118;


    border: 1px solid var(--border);


    border-radius: var(--radius-lg);


    padding: 24px;


    position: relative;


    overflow: hidden;


    transition: border-color 0.2s;


}


.stat-card:hover { border-color: rgba(124, 58, 237, 0.3); }


.stat-card::before {


    content: '';


    position: absolute;


    top: 0; right: 0;


    width: 80px; height: 80px;


    border-radius: 50%;


    filter: blur(30px);


}


.stat-card.purple::before { background: var(--purple); opacity: 0.2; }


.stat-card.blue::before { background: var(--blue); opacity: 0.2; }


.stat-card.green::before { background: var(--green); opacity: 0.2; }


.stat-card.cyan::before { background: var(--cyan); opacity: 0.2; }


.stat-icon {


    font-size: 24px;


    margin-bottom: 16px;


}


.stat-number { font-size: 2rem; font-weight: 800; color: var(--text-primary); }


.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }


.stat-change { font-size: 12px; margin-top: 8px; }


.stat-change.up { color: var(--green); }


.stat-change.down { color: var(--red); }





/* Image gallery */


.gallery-header {


    display: flex;


    align-items: center;


    justify-content: space-between;


    margin-bottom: 24px;


}


.gallery-header h2 { font-size: 1.2rem; }


.gallery-grid {


    display: grid;


    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));


    gap: 16px;


}


.gallery-item {


    background: var(--bg-card);


    border: 1px solid var(--border);


    border-radius: var(--radius);


    overflow: hidden;


    transition: all 0.2s;


    position: relative;


    group: true;


}


.gallery-item:hover {


    border-color: rgba(124, 58, 237, 0.4);


    transform: translateY(-2px);


    box-shadow: var(--shadow);


}


.gallery-thumb {


    width: 100%;


    padding-bottom: 75%;


    position: relative;


    overflow: hidden;


    background: #1a1a28;


}


.gallery-thumb img {


    position: absolute;


    inset: 0;


    width: 100%;


    height: 100%;


    object-fit: cover;


    transition: transform 0.3s;


}


.gallery-item:hover .gallery-thumb img { transform: scale(1.05); }


.gallery-overlay {


    position: absolute;


    inset: 0;


    background: rgba(0,0,0,0.7);


    display: flex;


    align-items: center;


    justify-content: center;


    gap: 10px;


    opacity: 0;


    transition: opacity 0.2s;


}


.gallery-item:hover .gallery-overlay { opacity: 1; }


.overlay-btn {


    width: 36px; height: 36px;


    border-radius: 50%;


    background: rgba(255,255,255,0.15);


    display: flex;


    align-items: center;


    justify-content: center;


    font-size: 15px;


    color: #fff;


    transition: background 0.2s;


    cursor: pointer;


    border: 1px solid rgba(255,255,255,0.2);


}


.overlay-btn:hover { background: rgba(255,255,255,0.25); }


.gallery-info { padding: 12px; }


.gallery-info .title { font-size: 13px; font-weight: 500; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }


.gallery-info .date { font-size: 11px; color: var(--text-muted); }


.empty-gallery {


    text-align: center;


    padding: 80px 20px;


    color: var(--text-muted);


}


.empty-gallery .icon { font-size: 56px; margin-bottom: 16px; opacity: 0.4; }


.empty-gallery h3 { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 8px; }


.empty-gallery p { font-size: 14px; margin-bottom: 24px; }





/* Package card on dashboard */


.package-banner {


    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(59, 130, 246, 0.1) 100%);


    border: 1px solid rgba(124, 58, 237, 0.3);


    border-radius: var(--radius-lg);


    padding: 15px;


    display: flex;


    align-items: center;


    justify-content: space-between;


    margin-bottom: 32px;


    flex-wrap: wrap;


    gap: 16px;


}


.package-banner .pkg-info{


    padding: 17px;


    border-radius: var(--radius);


}


.package-banner .pkg-info h3 { font-size: 18px; margin-bottom: 4px; }


.package-banner .pkg-info p { font-size: 13px; }


.pkg-badge {


    display: inline-flex;


    align-items: center;


    gap: 6px;


    background: rgba(124, 58, 237, 0.2);


    border: 1px solid rgba(124, 58, 237, 0.4);


    border-radius: 20px;


    padding: 4px 12px;


    font-size: 12px;


    font-weight: 700;


    color: var(--purple-light);


    text-transform: uppercase;


    letter-spacing: 0.5px;


    margin-bottom: 8px;


}


.expiry-bar { margin-top: 12px; }


.expiry-bar .label { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; display: flex; justify-content: space-between; }


.progress-bar { height: 6px; background: rgba(255,255,255,0.08); border-radius: 10px; overflow: hidden; }


.progress-fill { height: 100%; background: var(--grad-1); border-radius: 10px; transition: width 0.5s ease; }





/* ============================================= */


/* MODALS */


/* ============================================= */


.modal-overlay {


    position: fixed;


    inset: 0;


    background: rgba(0, 0, 0, 0.7);


    backdrop-filter: blur(6px);


    z-index: 9000;


    display: none;


    align-items: center;


    justify-content: center;


    padding: 20px;


}


.modal-overlay.open { display: flex; }


.modal {


    /* Override Bootstrap 5 which sets .modal to display:none / position:fixed / width:100% / height:100% */


    display: block;


    position: relative;


    top: auto;


    left: auto;


    z-index: auto;


    height: auto;


    overflow: visible;


    outline: none;


    /* Custom dialog styles */


    background: #13131e;


    border: 1px solid var(--border);


    border-radius: var(--radius-xl);


    padding: 40px;


    max-width: 500px;


    width: 100%;


    box-shadow: var(--shadow-lg);


    animation: slideUp 0.3s ease;


}


@keyframes slideUp {


    from { transform: translateY(20px); opacity: 0; }


    to { transform: translateY(0); opacity: 1; }


}


.modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 24px; padding: 0; border-bottom: none; border-radius: 0; }


.modal-title {


    display: block;


    color: var(--text-primary);


    font-size: 1.15rem;


    font-weight: 800;


    line-height: 1.25;


}


.modal-kicker {


    display: block;


    margin-bottom: 5px;


    color: var(--text-muted);


    font-size: 11px;


    font-weight: 800;


    letter-spacing: 0.8px;


    text-transform: uppercase;


}


.modal-header h3 { font-size: 1.2rem; }


.modal-close {


    width: 32px; height: 32px;


    border-radius: 8px;


    display: flex; align-items: center; justify-content: center;


    color: var(--text-muted);


    font-size: 18px;


    transition: all 0.2s;


    cursor: pointer;


    background: none;


    border: 1px solid transparent;


}


.modal-close:hover { background: var(--bg-card-hover); color: var(--text-primary); border-color: var(--border); }


.modal-close:focus-visible {


    outline: none;


    border-color: var(--purple-light);


    box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.18);


}


.modal-icon {


    width: 60px; height: 60px;


    border-radius: 50%;


    display: flex; align-items: center; justify-content: center;


    font-size: 28px;


    margin: 0 auto 20px;


}


.modal-icon.error { background: rgba(239, 68, 68, 0.15); border: 1px solid rgba(239, 68, 68, 0.3); }


.modal-icon.success { background: rgba(16, 185, 129, 0.15); border: 1px solid rgba(16, 185, 129, 0.3); }


.modal-icon.info { background: rgba(59, 130, 246, 0.15); border: 1px solid rgba(59, 130, 246, 0.3); }


.modal-error-list { list-style: none; text-align: left; }


.modal-error-list li {


    display: flex;


    align-items: flex-start;


    gap: 8px;


    padding: 6px 0;


    font-size: 14px;


    color: var(--text-secondary);


}


.modal-error-list li::before { content: '×'; color: var(--red); font-weight: 700; flex-shrink: 0; }





.validation-modal-panel {


    max-width: 540px;


    padding: 0;


    overflow: hidden;


}


.validation-modal-panel .modal-header {


    margin-bottom: 0;


    padding: 28px 30px 22px;


    border-bottom: 1px solid rgba(255,255,255,0.06);


    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12), rgba(124, 58, 237, 0.08));


}


.validation-modal-hero {


    display: flex;


    align-items: center;


    gap: 14px;


    padding: 22px 30px 10px;


}


.validation-modal-hero .modal-icon {


    width: 44px;


    height: 44px;


    flex: 0 0 44px;


    margin: 0;


    color: #b92525;


    font-size: 22px;


    font-weight: 900;


}


.modal-close.btn{


    height: auto;


    width: auto;


    border-radius: 100px;


    font-size: 16px;


}


.validation-modal-hero p {


    color: var(--text-secondary);


    font-size: 14px;


    line-height: 1.55;


}


.validation-modal-panel .modal-error-list {


    display: grid;


    gap: 10px;


    max-height: min(280px, 38vh);


    overflow-y: auto;


    margin: 8px 30px 0;


    padding: 0 2px 2px;


}


.validation-modal-panel .modal-error-list li {


    gap: 10px;


    padding: 12px 13px;


    border: 1px solid rgba(239, 68, 68, 0.18);


    border-radius: 10px;


    background: rgba(255,255,255,0.035);


    color: #fecaca;


    line-height: 1.45;


}


.validation-modal-panel .modal-error-list li::before {


    content: '!';


    display: inline-flex;


    align-items: center;


    justify-content: center;


    flex: 0 0 20px;


    width: 20px;


    height: 20px;


    margin-top: 1px;


    border-radius: 50%;


    background: rgba(239, 68, 68, 0.16);


    font-size: 12px;


    font-weight: 900;


}


.modal-actions {


    display: flex;


    justify-content: flex-end;


    gap: 12px;


    padding: 24px 30px 30px;


}


.modal-actions .btn {


    min-width: 118px;


}





@media (max-width: 520px) {


    .modal {


        padding: 28px 22px;


    }


    .validation-modal-panel {


        padding: 0;


    }


    .validation-modal-panel .modal-header,


    .validation-modal-hero,


    .modal-actions {


        padding-left: 22px;


        padding-right: 22px;


    }


    .validation-modal-panel .modal-error-list {


        margin-left: 22px;


        margin-right: 22px;


    }


    .modal-actions {


        flex-direction: column-reverse;


    }


    .modal-actions .btn {


        width: 100%;


    }


}





/* ============================================= */


/* ALERTS / TOASTS */


/* ============================================= */


.alert {


    padding: 14px 18px;


    border-radius: 10px;


    display: flex;


    align-items: flex-start;


    gap: 12px;


    font-size: 14px;


    margin-bottom: 20px;


}


.alert.success { background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.3); color: #6ee7b7; }


.alert.error { background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3); color: #fca5a5; }


.alert.info { background: rgba(59, 130, 246, 0.1); border: 1px solid rgba(59, 130, 246, 0.3); color: #93c5fd; }


.toast-container {


    position: fixed;


    bottom: 24px;


    right: 24px;


    z-index: 9999;


    display: flex;


    flex-direction: column;


    gap: 10px;


}


.toast {


    background: #1a1a2e;


    border: 1px solid var(--border);


    border-radius: 10px;


    padding: 14px 18px;


    display: flex;


    align-items: center;


    gap: 12px;


    font-size: 14px;


    box-shadow: var(--shadow-lg);


    animation: toastIn 0.3s ease;


    max-width: 320px;


}


@keyframes toastIn {


    from { transform: translateX(100%); opacity: 0; }


    to { transform: translateX(0); opacity: 1; }


}


.toast.success { border-left: 3px solid var(--green); }


.toast.error { border-left: 3px solid var(--red); }


.toast.info { border-left: 3px solid var(--blue); }





/* ============================================= */


/* LOADING SPINNER */


/* ============================================= */


.page-loader {


    position: fixed;


    inset: 0;


    background: var(--bg-primary);


    display: flex;


    align-items: center;


    justify-content: center;


    z-index: 99999;


}


.loader-ring {


    width: 50px; height: 50px;


    border: 3px solid rgba(124, 58, 237, 0.2);


    border-top-color: var(--purple);


    border-radius: 50%;


    animation: spin 0.8s linear infinite;


}





/* ============================================= */


/* RESPONSIVE */


/* ============================================= */


@media (min-width: 1101px) {


    /* Prevent hero text from overlapping the absolutely-positioned hero visual (45vw from right) */


    .hero-content { max-width: clamp(400px, 52vw, 660px); }


}


@media (max-width: 1100px) {


    .pricing-grid { grid-template-columns: repeat(3, 1fr); }


    .pricing-grid .pricing-card:nth-child(4),


    .pricing-grid .pricing-card:nth-child(5) { /* let them wrap */ }


    .hero-visual { display: none; }


    .hero-content { max-width: 100%; }


}


@media (max-width: 900px) {


    .features-grid { grid-template-columns: repeat(2, 1fr); }


    .pricing-grid { grid-template-columns: repeat(2, 1fr); }


    .steps { grid-template-columns: 1fr; }


    .steps::before { display: none; }


    .footer-grid { grid-template-columns: 1fr 1fr; }


    .checkout-grid { grid-template-columns: 1fr; }


    .stats-grid { grid-template-columns: repeat(2, 1fr); }


    .main-content { margin-left: 0; }


    .sidebar { transform: translateX(-100%); }


    .sidebar.open { transform: translateX(0); }


    .form-row { grid-template-columns: 1fr; }


}


/* Nav links hidden + hamburger shown on mobile (up to Bootstrap md breakpoint) */


@media (max-width: 767px) {


    .nav-links { display: none !important; }


    .hamburger { display: flex; }


}





/* Mobile nav open state — dropdown from navbar */


@media (max-width: 767px) {


    .navbar.nav-mobile-open {


        background: rgba(10, 10, 15, 0.98) !important;


        border-bottom-color: var(--border) !important;


    }


    .navbar.nav-mobile-open .nav-links {


        display: flex !important;


        flex-direction: column;


        position: absolute;


        top: 100%;


        left: 0;


        right: 0;


        background: rgba(10, 10, 15, 0.98);


        border-bottom: 1px solid var(--border);


        padding: 12px 24px 20px;


        gap: 4px;


        z-index: 999;


    }


    .navbar.nav-mobile-open .nav-links a {


        padding: 12px 14px;


        font-size: 15px;


        border-radius: 8px;


        display: block;


    }


}


/* Hamburger X animation when active */


.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }


.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }


.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }





@media (max-width: 600px) {


    .features-grid { grid-template-columns: 1fr; }


    .pricing-grid { grid-template-columns: 1fr; }


    .pricing-card.popular { transform: none; }


    .hero-stats { gap: 24px; flex-wrap: wrap; }


    .footer-grid { grid-template-columns: 1fr; }


    .auth-card { padding: 32px 24px; }


    .stats-grid { grid-template-columns: 1fr; }


    .cta-section { padding: 48px 24px; }


    .cta-actions { flex-direction: column; align-items: center; }


    h1 { font-size: 2rem; }


}





/* ============================================= */


/* THEME TOGGLE BUTTON */


/* ============================================= */


.theme-toggle-btn {


    width: 36px;


    height: 36px;


    border-radius: 50%;


    display: inline-flex;


    align-items: center;


    justify-content: center;


    background: var(--bg-card);


    border: 1px solid var(--border);


    color: var(--text-secondary);


    font-size: 15px;


    cursor: pointer;


    transition: all 0.2s;


    padding: 0;


    flex-shrink: 0;


}


.theme-toggle-btn:hover {


    background: var(--bg-card-hover);


    color: var(--purple-light);


    border-color: rgba(124, 58, 237, 0.4);


    transform: scale(1.1);


}


.theme-toggle-float {


    position: fixed;


    top: 16px;


    right: 20px;


    z-index: 9999;


    width: 44px;


    height: 44px;


    background: var(--bg-secondary) !important;


    box-shadow: var(--shadow);


    border-radius: 50%;


}





/* ============================================= */


/* LIGHT THEME */


/* ============================================= */


[data-theme="light"] {


    --bg-primary: #f1f5f9;


    --bg-secondary: #ffffff;


    --bg-card: rgba(0, 0, 0, 0.04);


    --bg-card-hover: rgba(0, 0, 0, 0.07);


    --border: rgba(0, 0, 0, 0.1);


    --text-primary: #0f172a;


    --text-secondary: #475569;


    --text-muted: #94a3b8;


    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);


    --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);


    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.12);


    --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.12);


}





[data-theme="light"] body { background: var(--bg-primary); color: var(--text-primary); }


[data-theme="light"] p { color: var(--text-secondary); }


[data-theme="light"] h1, [data-theme="light"] h2, [data-theme="light"] h3, [data-theme="light"] h4 { color: var(--text-primary); }





/* Navbar */


[data-theme="light"] .navbar { background: rgba(248, 250, 252, 0.6); }


[data-theme="light"] .navbar.scrolled {


    background: rgba(248, 250, 252, 0.97);


    border-bottom-color: rgba(0, 0, 0, 0.1);


}


[data-theme="light"] .nav-links a { color: var(--text-secondary); }


[data-theme="light"] .nav-links a:hover { background: rgba(0, 0, 0, 0.05); color: var(--text-primary); }


[data-theme="light"] .hamburger span { background: var(--text-primary); }


[data-theme="light"] .user-btn { background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.1); color: var(--text-primary); }


[data-theme="light"] .user-btn:hover { background: rgba(0,0,0,0.08); }


[data-theme="light"] .dropdown-menu { background: #ffffff; box-shadow: var(--shadow); }


[data-theme="light"] .dropdown-header { border-bottom-color: rgba(0,0,0,0.07); }


[data-theme="light"] .dropdown-item { color: var(--text-secondary); }


[data-theme="light"] .dropdown-item:hover { background: rgba(0,0,0,0.04); color: var(--text-primary); }


[data-theme="light"] .dropdown-divider { background: rgba(0,0,0,0.07); }





/* Hero */


[data-theme="light"] .hero-bg { background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(124,58,237,0.08) 0%, transparent 70%); }


[data-theme="light"] .hero-grid-lines {


    background-image: linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),


                      linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);


}


[data-theme="light"] .hero-mockup { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.08); box-shadow: var(--shadow-lg); }


[data-theme="light"] .mockup-bar { background: rgba(0,0,0,0.03); border-bottom-color: rgba(0,0,0,0.06); }


[data-theme="light"] .hero-stats { border-top-color: rgba(0,0,0,0.08); }





/* Feature cards */


[data-theme="light"] .feature-card { background: #ffffff; box-shadow: var(--shadow-sm); }


[data-theme="light"] .feature-card:hover { box-shadow: var(--shadow-lg); border-color: rgba(124,58,237,0.3); }


[data-theme="light"] .feature-card h3 { color: var(--text-primary); }





/* Pricing */


[data-theme="light"] .pricing-card { background: #ffffff; box-shadow: var(--shadow-sm); }


[data-theme="light"] .pricing-card.popular { background: rgba(124,58,237,0.04); }


[data-theme="light"] .pricing-divider { background: rgba(0,0,0,0.07); }





/* CTA + Footer */


[data-theme="light"] .cta-section {


    background: linear-gradient(135deg, rgba(124,58,237,0.06) 0%, rgba(59,130,246,0.04) 100%);


    border-color: rgba(124,58,237,0.15);


}


[data-theme="light"] footer { border-top-color: rgba(0,0,0,0.08); }


[data-theme="light"] .footer-col a { color: var(--text-secondary); }


[data-theme="light"] .footer-col a:hover { color: var(--purple-light); }


[data-theme="light"] .footer-bottom { border-top-color: rgba(0,0,0,0.08); }





/* Forms */


[data-theme="light"] .form-control { background: rgba(0,0,0,0.04); color: var(--text-primary); border-color: rgba(0,0,0,0.12); }


[data-theme="light"] .form-control:focus { background: rgba(124,58,237,0.03); }


[data-theme="light"] .form-control::placeholder { color: var(--text-muted); }


[data-theme="light"] select.form-control { background-color: rgba(0,0,0,0.04); }


[data-theme="light"] .btn-secondary { background: rgba(0,0,0,0.05); color: var(--text-primary); border-color: rgba(0,0,0,0.1); }


[data-theme="light"] .btn-secondary:hover { background: rgba(0,0,0,0.08); border-color: rgba(0,0,0,0.15); }


[data-theme="light"] .btn-outline { border-color: rgba(124,58,237,0.4); }


[data-theme="light"] .section-subtitle { color: var(--text-muted); }





/* Auth pages */


[data-theme="light"] .auth-page { background: var(--bg-primary); }


[data-theme="light"] .auth-bg { background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124,58,237,0.06) 0%, transparent 70%); }


[data-theme="light"] .auth-card { background: #ffffff; box-shadow: var(--shadow); border-color: rgba(0,0,0,0.08); }


[data-theme="light"] .auth-logo h2 { color: var(--text-primary); }


[data-theme="light"] .auth-footer { color: var(--text-secondary); }





/* Checkout */


[data-theme="light"] .checkout-form-card,


[data-theme="light"] .checkout-summary { background: #ffffff; box-shadow: var(--shadow-sm); border-color: rgba(0,0,0,0.08); }


[data-theme="light"] .checkout-form-card h2 { border-bottom-color: rgba(0,0,0,0.08); }


[data-theme="light"] .checkout-summary h3 { border-bottom-color: rgba(0,0,0,0.08); }


[data-theme="light"] .summary-package { background: rgb(81 237 58 / 5%);
    border-color: rgb(58 237 92 / 15%); }


[data-theme="light"] .summary-feature { border-bottom-color: rgba(0,0,0,0.04); color: var(--text-secondary); }


[data-theme="light"] .summary-total { background: rgba(0,0,0,0.03); }


[data-theme="light"] .checkout-secure { color: var(--text-muted); }





/* Thank you */


[data-theme="light"] .thankyou-page { background: var(--bg-primary); }


[data-theme="light"] .thankyou-card { background: #ffffff; box-shadow: var(--shadow); border-color: rgba(0,0,0,0.08); }


[data-theme="light"] .order-details { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.06); }


[data-theme="light"] .order-detail-row { border-bottom-color: rgba(0,0,0,0.04); }


[data-theme="light"] .order-detail-row .key { color: var(--text-muted); }


[data-theme="light"] .order-detail-row .val { color: var(--text-primary); }


[data-theme="light"] .thankyou-card .sub { color: var(--text-secondary); }





/* Dashboard */


[data-theme="light"] .sidebar { background: #ffffff; border-right-color: rgba(0,0,0,0.08); }


[data-theme="light"] .sidebar-logo { border-bottom-color: rgba(0,0,0,0.08); }


[data-theme="light"] .sidebar-logo span { color: var(--text-primary); }


[data-theme="light"] .sidebar-bottom { border-top-color: rgba(0,0,0,0.08); }


[data-theme="light"] .nav-section-label { color: var(--text-muted); }


[data-theme="light"] .nav-item { color: var(--text-secondary); }


[data-theme="light"] .nav-item:hover { background: rgba(0,0,0,0.05); color: var(--text-primary); }


[data-theme="light"] .nav-item.active { background: rgb(58 237 108 / 8%);
    border-color: rgb(31 147 22 / 15%); }


[data-theme="light"] .user-info-sidebar { background: rgba(0,0,0,0.04); }


[data-theme="light"] .sidebar-user-info .name { color: var(--text-primary); }


[data-theme="light"] .main-content { background: var(--bg-primary); }


[data-theme="light"] .dash-header { background: rgba(248,250,252,0.9); border-bottom-color: rgba(0,0,0,0.08); }


[data-theme="light"] .dash-header h1 { color: var(--text-primary); }


[data-theme="light"] .stat-card { background: #ffffff; box-shadow: var(--shadow-sm); border-color: rgba(0,0,0,0.08); }


[data-theme="light"] .stat-number { color: var(--text-primary); }


[data-theme="light"] .gallery-header h2 { color: var(--text-primary); }


[data-theme="light"] .gallery-item { background: #ffffff; border-color: rgba(0,0,0,0.08); }


[data-theme="light"] .gallery-thumb { background: #e2e8f0; }


[data-theme="light"] .gallery-info .title { color: var(--text-primary); }


[data-theme="light"] .gallery-info .date { color: var(--text-muted); }


[data-theme="light"] .package-banner {


    background: linear-gradient(135deg, rgba(124,58,237,0.07) 0%, rgba(59,130,246,0.05) 100%);


    border-color: rgba(124,58,237,0.2);


}


[data-theme="light"] .progress-bar { background: rgba(0,0,0,0.08); }





/* Modals + Toasts */


[data-theme="light"] .modal { background: #ffffff; border-color: rgba(0,0,0,0.08); }


[data-theme="light"] .modal-title { color: var(--text-primary); }


[data-theme="light"] .modal-close { color: var(--text-muted); }


[data-theme="light"] .modal-close:hover { background: rgba(0,0,0,0.05); color: var(--text-primary); border-color: rgba(0,0,0,0.1); }


[data-theme="light"] .modal-message { color: var(--text-secondary) !important; }


[data-theme="light"] .modal-error-list li { color: var(--text-secondary); }


[data-theme="light"] .toast { background: #ffffff; border-color: rgba(0,0,0,0.08); color: var(--text-primary); }


[data-theme="light"] .alert.success { background: rgba(16,185,129,0.08); }


[data-theme="light"] .alert.error { background: rgba(239,68,68,0.08); }


[data-theme="light"] .alert.info { background: rgba(59,130,246,0.08); }





/* Editor light mode */


[data-theme="light"] .editor-page { background: #e8ecf0; }


[data-theme="light"] .editor-topbar { background: #f8fafc; border-bottom-color: rgba(0,0,0,0.1); }


[data-theme="light"] .topbar-logo { color: var(--text-primary); }


[data-theme="light"] .topbar-title { color: var(--text-muted); }


[data-theme="light"] .topbar-divider { background: rgba(0,0,0,0.1); }


[data-theme="light"] .tb-btn { background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.1); color: var(--text-secondary); }


[data-theme="light"] .tb-btn:hover { background: rgba(0,0,0,0.08); color: var(--text-primary); border-color: rgba(0,0,0,0.15); }


[data-theme="light"] .tb-btn-icon { background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.1); color: var(--text-secondary); }


[data-theme="light"] .tb-btn-icon:hover { background: rgba(0,0,0,0.08); color: var(--text-primary); }


[data-theme="light"] .tool-sidebar { background: #f8fafc; border-right-color: rgba(0,0,0,0.1); }


[data-theme="light"] .tool-btn { color: var(--text-muted); }


[data-theme="light"] .tool-btn:hover { background: rgba(0,0,0,0.06); color: var(--text-secondary); }


[data-theme="light"] .tool-sep { background: rgba(0,0,0,0.08); }


[data-theme="light"] .canvas-area { background: #dde1e7; }


[data-theme="light"] .canvas-bg-pattern {


    background-image: linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),


                      linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);


}


[data-theme="light"] .editor-panel { background: #f8fafc; border-left-color: rgba(0,0,0,0.1); }


[data-theme="light"] .panel-tabs { border-bottom-color: rgba(0,0,0,0.08); }


[data-theme="light"] .panel-tab { color: var(--text-muted); }


[data-theme="light"] .panel-tab:hover { color: var(--text-secondary); }


[data-theme="light"] .panel-section-title { color: var(--text-muted); }


[data-theme="light"] .slider-label { color: var(--text-secondary); }


[data-theme="light"] input[type="range"] { background: rgba(0,0,0,0.1); }


[data-theme="light"] .filter-name { background: rgba(0,0,0,0.35); }


[data-theme="light"] .upload-zone { background: rgba(124,58,237,0.04); border-color: rgba(124,58,237,0.25); }


[data-theme="light"] .upload-zone h3 { color: var(--text-primary); }


[data-theme="light"] .canvas-info-bar { background: rgba(255,255,255,0.7); border-color: rgba(0,0,0,0.1); color: var(--text-muted); }





/* Change-password page light */


[data-theme="light"] .dash-body > div > div { background: #ffffff !important; border-color: rgba(0,0,0,0.08) !important; }











#my-widget-popup {





    top: auto !important;





    bottom: 20px !important;





}











#widget-content {





    bottom: 0px !important;





    top: auto !important;





}
.btn-primary-dark{
        color: #fff;
    font-weight: 700;
    letter-spacing: 0.01em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0%;
    background: var(--ink);
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: none;
    border-radius: 14px;
    padding: 14px 18px;
    gap: 10px;
    text-decoration: none;
    background: #000;
}
.btn-primary-dark:hover{
    background: #c7e26b;
    color: #000;
}