/*
Theme Name: DMM Ebook (Hello Elementor child)
Theme URI: https://example.com
Description: Course sales landing page (UPI QR checkout, lead capture in wp-admin) plus ebook-style child theme for Hello Elementor. Warm paper background, serif headings, animated header, and full-width layout for the DMM Student Portal pages. Works with Elementor Free and Pro.
Author: Course Admin
Template: hello-elementor
Version: 3.0.2
Text Domain: dmm-ebook
*/

:root{--dmm-ink:#1e1b2e;--dmm-navy:#1e1b4b;--dmm-brand:#4f46e5;--dmm-violet:#7c3aed;--dmm-gold:#d4a017;--dmm-paper:#f6f1e7}
body{background:var(--dmm-paper);color:var(--dmm-ink);font-family:Inter,system-ui,sans-serif;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4{font-family:Fraunces,Georgia,serif;color:var(--dmm-ink)}
a{color:var(--dmm-brand)}

/* Header */
.dmm-head{position:sticky;top:0;z-index:50;background:rgba(30,27,75,.96);backdrop-filter:blur(10px);box-shadow:0 4px 20px rgba(30,27,75,.25)}
.dmm-head-in{max-width:1280px;margin:0 auto;padding:12px 20px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.dmm-brand{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none;font-family:Fraunces,Georgia,serif;font-weight:700;font-size:19px}
.dmm-brand i{width:38px;height:38px;border-radius:11px;background:linear-gradient(135deg,#6366f1,#a855f7);display:flex;align-items:center;justify-content:center;font-style:normal;font-family:Inter,sans-serif;font-weight:800;font-size:15px;transition:transform .4s}
.dmm-brand:hover i{transform:rotate(-8deg) scale(1.08)}
.dmm-head nav ul{list-style:none;display:flex;gap:6px;margin:0;padding:0}
.dmm-head nav a{color:#e0e7ff;text-decoration:none;padding:8px 14px;border-radius:99px;font-weight:600;font-size:14px;transition:.2s}
.dmm-head nav a:hover{background:rgba(255,255,255,.14);color:#fff}
.dmm-head .cta{background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#1e1b4b;padding:10px 20px;border-radius:99px;font-weight:800;font-size:14px;text-decoration:none;transition:.2s;box-shadow:0 6px 16px rgba(245,158,11,.35)}
.dmm-head .cta:hover{transform:translateY(-2px)}

/* Footer */
.dmm-foot{background:var(--dmm-navy);color:#c7d2fe;text-align:center;padding:30px 20px;margin-top:50px;font-size:14px}
.dmm-foot b{color:#fff;font-family:Fraunces,Georgia,serif;font-size:18px;display:block;margin-bottom:6px}

/* Portal pages: full width, no page title */
.dmm-portal-page .page-header{display:none}
.dmm-portal-page .site-main{max-width:1320px;margin:0 auto;padding:26px 16px}
.dmm-portal-page .page-content{max-width:none}

@media(max-width:700px){.dmm-head nav{display:none}}

.dmm-home-page .site-main{max-width:none;padding:0}

.dmm-head-btns{display:flex;gap:10px;align-items:center}
.dmm-head .cta-ghost{background:transparent;color:#e0e7ff;box-shadow:none;border:2px solid rgba(255,255,255,.35)}
.dmm-head .cta-ghost:hover{background:rgba(255,255,255,.12)}
html{scroll-behavior:smooth}
@media(max-width:520px){.dmm-head .cta-ghost{display:none}}
.dmm-brand img{height:40px;width:auto;display:block}
.dmm-foot-logo{height:44px;width:auto;display:block;margin:0 auto 12px}
.dmm-foot-contact{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 22px;margin-bottom:14px}
.dmm-foot-contact a{color:#fff;text-decoration:none;font-weight:600}
.dmm-foot-contact a:hover{color:#fbbf24}
