/* CreativeMevin Pro Theme 0.3.0 — main stylesheet */

:root {
	--ink: #12122b;
	--muted: #5b5b78;
	--purple: var(--cmpt-primary, #7c3aed);
	--purple-d: color-mix(in srgb, var(--cmpt-primary, #7c3aed) 82%, #000);
	--navy: var(--cmpt-secondary, #0d0b2e);
	--line: #e8e6f5;
	--soft: #f6f4ff;
	--cyan: var(--cmpt-accent, #22d3ee);
	--green: #16a34a;
	--radius: 14px;
	--shadow: 0 10px 30px rgba(60, 30, 140, .08);
	--font: var(--cmpt-body-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }

/* Generic defaults use :where() (zero specificity) so Elementor and other
   plugins always win, and bullets in Elementor text widgets stay intact. */
:where(a) { color: var(--purple); text-decoration: none; }
:where(a:hover) { text-decoration: underline; }
:where(h1, h2, h3, h4) { font-family: var(--cmpt-heading-font, var(--font)); line-height: 1.2; margin: 0 0 .5em; color: var(--ink); }
:where(p) { margin: 0 0 1em; }

/* List resets only for the theme's own components */
.primary-nav .menu, .primary-nav .sub-menu, .footer-menu, .legal-menu, .hero-checks,
.plan-features, .chips, .social-list { margin: 0; padding: 0; list-style: none; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.screen-reader-text, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; background: #fff; padding: 10px 14px; z-index: 999; border-radius: 6px; }
.icon { width: 1.1em; height: 1.1em; flex: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; border-radius: 10px; font-weight: 600; font-size: .95rem; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; text-decoration: none !important; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 13px 26px; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--purple); color: #fff; box-shadow: 0 6px 18px rgba(124, 58, 237, .35); }
.btn-primary:hover { background: var(--purple-d); color: #fff; }
.btn-outline { background: #fff; color: var(--purple); border-color: var(--purple); }
.btn-outline:hover { background: var(--soft); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.btn-white { background: #fff; color: var(--purple-d); }
.btn-white:hover { background: #f3eeff; color: var(--purple-d); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand-link { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 800; font-size: 1.15rem; text-decoration: none !important; }
.brand-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg, var(--purple), var(--cyan)); color: #fff; font-weight: 800; }
.brand-pro { background: var(--purple); color: #fff; font-size: .72rem; padding: 2px 7px; border-radius: 6px; }
.custom-logo-link img { max-height: 44px; width: auto; }
.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav .menu { display: flex; gap: 26px; }
.primary-nav .menu a { color: #e9e7ff; font-weight: 500; font-size: .95rem; }
.primary-nav .menu a:hover { color: #fff; text-decoration: none; }
.primary-nav .menu li { position: relative; }
.primary-nav .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 190px; background: #17143f; border-radius: 10px; padding: 8px; box-shadow: var(--shadow); }
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { display: block; }
.primary-nav .sub-menu a { display: block; padding: 8px 12px; border-radius: 6px; }
.primary-nav .sub-menu a:hover { background: rgba(255, 255, 255, .08); }
.header-actions { display: flex; gap: 10px; }
.nav-toggle { display: none; background: transparent; border: 1px solid rgba(255, 255, 255, .35); color: #fff; border-radius: 8px; padding: 7px 9px; cursor: pointer; }

/* Hero */
.hero { color: #fff; background: radial-gradient(900px 400px at 85% 30%, rgba(124, 58, 237, .55), transparent 60%), linear-gradient(135deg, #0d0b2e 0%, #231065 55%, #3b1a8a 100%); padding: 64px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 800; letter-spacing: -.02em; margin: 18px 0 16px; }
.grad-text { display: block; font-size: 1.12em; background: linear-gradient(90deg, #22d3ee, #a78bfa 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-text { color: #d8d4f5; max-width: 520px; font-size: 1.02rem; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 20px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 8px 20px; color: #d8d4f5; font-size: .88rem; }
.hero-checks li { display: inline-flex; align-items: center; gap: 6px; }
.hero-checks .icon { color: #4ade80; }
.pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 600; color: var(--purple-d); background: #ede9fe; }
.pill-dark { color: #e5e0ff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .15); }

/* Hero dashboard preview */
.hero-visual { position: relative; }
.float-tag { position: absolute; top: -18px; right: 6%; z-index: 2; background: rgba(124, 58, 237, .85); border: 1px solid rgba(255, 255, 255, .25); padding: 8px 14px; border-radius: 12px; font-size: .78rem; line-height: 1.3; }
.float-tag strong { color: var(--cyan); }
.laptop { background: #0a0820; border: 6px solid #1c1a3a; border-radius: 14px 14px 4px 4px; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.screen { display: grid; grid-template-columns: 28% 1fr; min-height: 260px; background: #12103a; font-size: .6rem; color: #cfcaf5; }
.dash-side { background: #0d0b2e; padding: 10px 8px; display: flex; flex-direction: column; gap: 4px; }
.dash-logo { font-weight: 700; color: #fff; margin-bottom: 6px; }
.dash-logo b { color: #a78bfa; }
.dash-side span { padding: 4px 6px; border-radius: 5px; }
.dash-side .on { background: var(--purple); color: #fff; }
.dash-main { padding: 12px; background: #fff; color: var(--ink); }
.dash-head { font-weight: 700; font-size: .72rem; margin-bottom: 8px; }
.dash-cards, .dash-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-bottom: 8px; }
.dash-cards div, .dash-actions div { border: 1px solid var(--line); border-radius: 6px; padding: 5px; text-align: center; }
.dash-cards b { display: block; font-size: .8rem; }
.dash-cards small { color: var(--muted); font-size: .5rem; }
.dash-actions div { background: var(--soft); color: var(--purple-d); font-weight: 600; font-size: .5rem; }
.dash-chart { width: 100%; height: 60px; background: #faf9ff; border-radius: 6px; display: block; }
.laptop-base { height: 10px; margin: 0 -22px; background: linear-gradient(#d4d2e6, #9d9bb8); border-radius: 0 0 14px 14px; }
.preview-note { text-align: center; font-size: .72rem; color: #a9a3d9; margin: 10px 0 0; }

/* Stats */
.stats { background: #f4f2ff; padding: 22px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.stat strong { display: block; font-size: 1.3rem; }
.stat span { color: var(--muted); font-size: .88rem; }

/* Sections */
.section { padding: 72px 0; }
.section-soft { background: var(--soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; margin-top: 10px; }
.section-head p { color: var(--muted); }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.service-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); transition: transform .2s, border-color .2s; }
.service-card:hover { transform: translateY(-3px); border-color: #c4b5fd; }
.service-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #f0eaff; color: var(--purple); margin-bottom: 12px; }
.service-icon .icon { width: 20px; height: 20px; }
.service-card h3 { font-size: 1rem; margin-bottom: 6px; }
.service-card p { font-size: .84rem; color: var(--muted); margin: 0; }
.service-more { background: linear-gradient(135deg, #f5f0ff, #ece4ff); }
.soon { display: inline-block; margin-top: 10px; font-size: .68rem; font-weight: 700; color: var(--purple-d); background: #ede9fe; padding: 2px 8px; border-radius: 999px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.step-icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 12px; background: #f0eaff; color: var(--purple); }
.step h3 { font-size: 1rem; margin-bottom: 2px; }
.step p { margin: 0; color: var(--muted); font-size: .9rem; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 980px; margin: 0 auto; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; box-shadow: var(--shadow); }
.plan-featured { border: 2px solid var(--purple); box-shadow: 0 18px 40px rgba(124, 58, 237, .2); }
.plan-badge { position: absolute; top: 14px; right: 14px; background: var(--purple); color: #fff; font-size: .7rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.plan h3 { font-size: 1.15rem; }
.plan-price strong { font-size: 2.1rem; font-weight: 800; }
.plan-price span { color: var(--muted); }
.plan-yearly { font-size: .85rem; color: var(--purple-d); margin: 4px 0 0; }
.plan-features { margin: 18px 0 22px; display: grid; gap: 9px; flex: 1; }
.plan-features li { display: flex; align-items: flex-start; gap: 8px; font-size: .92rem; }
.plan-features .icon { color: var(--green); margin-top: 3px; }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.testi blockquote { margin: 0 0 14px; font-size: .95rem; }
.testi figcaption strong { display: block; }
.testi figcaption span { color: var(--muted); font-size: .85rem; }

/* Integrations */
.integrations { padding: 36px 0 8px; text-align: center; }
.integrations-title { font-weight: 700; font-size: .85rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips li { padding: 6px 16px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; color: var(--muted); background: #fff; }

/* CTA */
.cta-wrap { padding: 40px 0 64px; }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 34px 40px; border-radius: 18px; color: #fff; background: linear-gradient(120deg, #6d28d9, #8b5cf6 60%, #a78bfa); }
.cta h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 6px; }
.cta p { margin: 0; color: #efeaff; }

/* Footer */
.site-footer { background: var(--navy); color: #bdb8e6; padding: 52px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer-brand p { margin: 14px 0; font-size: .9rem; max-width: 300px; }
.social-list { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.social-list a, .footer-menu a { color: #bdb8e6; font-size: .9rem; }
.social-list a:hover, .footer-menu a:hover { color: #fff; }
.footer-col h4 { color: #fff; font-size: .95rem; }
.footer-menu { display: grid; gap: 8px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 36px; padding: 18px 20px 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; }
.footer-bottom p { margin: 0; }
.legal-menu { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.legal-menu a { color: #bdb8e6; }

/* Inner pages */
.page-wrap { padding: 48px 20px 72px; }
.page-title { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 800; }
.entry { max-width: 820px; }
.entry-content { font-size: 1.02rem; }
.entry-content img { border-radius: 10px; }
.entry-content a { text-decoration: underline; }
.post-meta { color: var(--muted); font-size: .85rem; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 30px; }
.post-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.post-card h2 { font-size: 1.1rem; }
.post-card h2 a { color: var(--ink); }
.post-thumb img { border-radius: 10px; width: 100%; margin-bottom: 10px; }
.navigation.pagination { text-align: center; }
.navigation .page-numbers { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; margin: 0 2px; }
.navigation .current { background: var(--purple); color: #fff; border-color: var(--purple); }
.not-found { text-align: center; }

/* Tablet */
@media (max-width: 1080px) {
	.service-grid { grid-template-columns: repeat(3, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
	.nav-toggle { display: inline-flex; }
	.primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 16px; padding: 18px 20px 22px; background: var(--navy); border-top: 1px solid rgba(255, 255, 255, .08); }
	.primary-nav.is-open { display: flex; }
	.primary-nav .menu { flex-direction: column; gap: 4px; }
	.primary-nav .menu a { display: block; padding: 10px 4px; }
	.primary-nav .sub-menu { display: block; position: static; background: transparent; box-shadow: none; padding: 0 0 0 14px; }
	.header-actions { flex-direction: column; }
	.hero-grid { grid-template-columns: 1fr; }
	.hero { padding: 44px 0 56px; }
	.steps, .pricing-grid, .testi-grid, .post-grid { grid-template-columns: 1fr; }
	.pricing-grid { max-width: 480px; }
	.stats-grid { grid-template-columns: repeat(2, 1fr); }
	.cta { flex-direction: column; text-align: center; padding: 28px 22px; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}

@media (max-width: 600px) {
	.section { padding: 52px 0; }
	.service-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.service-card { padding: 14px; }
	.footer-grid { grid-template-columns: 1fr; }
	.hero-buttons .btn { flex: 1 1 100%; }
	.float-tag { display: none; }
}

@media (max-width: 380px) {
	.service-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}

/* Elementor compatibility */
.cmpt-elementor-page .site-main { padding: 0; margin: 0; }
.elementor-page .site-main > .elementor { width: 100%; }
.elementor-editor-active .site-header { position: static; }
.elementor-widget-container ul { list-style: revert; }

/* Starter-page content and Elementor compatibility */
.page-wrap { padding-top: 64px; padding-bottom: 72px; min-height: 48vh; }
.entry { max-width: 900px; margin: 0 auto; }
.entry .page-title { font-size: clamp(2rem, 4vw, 3.25rem); margin-bottom: 1.25rem; }
.entry-content { color: var(--muted); font-size: 1.05rem; }
.entry-content h2 { margin-top: 2rem; color: var(--ink); }
.entry-content h3 { margin-top: 1.5rem; color: var(--ink); }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin: 0 0 1.25rem; }
.elementor-page .site-main { width: 100%; }
.elementor-page .site-main > .container { max-width: none; padding-left: 0; padding-right: 0; }
@media (max-width: 767px) { .page-wrap { padding-top: 40px; padding-bottom: 48px; } }
