* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    background: linear-gradient(125deg, #f4f0fb 0%, #f6eefb 30%, #e9c6f3 55%, #f3c9e0 72%, #ffd9c0 100%);
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
}

/* ===== TOP BAR ===== */
.sc-user-pill { position: relative; }
.sc-user-menu {
    position: absolute;
    top: 100%;
    margin-top: 4px;
    right: 0;
     
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(120,80,180,0.20);
    padding: 0px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .16s, transform .16s, visibility .16s;
    z-index: 100;
}
.sc-user-pill::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 10px;
}
.sc-user-pill:hover .sc-user-menu,
.sc-user-pill:focus-within .sc-user-menu,
.sc-user-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.sc-user-menu-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #15152b;
    text-decoration: none;
}
.sc-user-menu-item:hover { background: #f4f0fb; color: #7c3aed; }
.sc-user-menu-item svg { width: 16px; height: 16px; }
.sc-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px 0 40px;
}
.sc-topbar-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.sc-topbar-logo .sc-logo-text {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #1a1a2e;
}
.sc-topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.sc-bell {
    position: relative;
    cursor: pointer;
    color: #2b2b40;
}
.sc-bell .sc-bell-dot {
    position: absolute;
    top: -1px;
    right: -1px;
    width: 8px;
    height: 8px;
    background: #ec4899;
    border-radius: 50%;
    border: 1.5px solid #f3e3f6;
}
.sc-user-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #ffffff;
    border-radius: 12px;
    padding: 6px 12px;
    box-shadow: 0 4px 14px rgba(120,80,180,0.14);
    cursor: pointer;
}
.sc-user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-image: url('../images/liam.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.sc-user-name {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
}
.sc-user-pill svg { color: #6b7280; }

/* ===== LAYOUT ===== */
.sc-page {
    max-width: 1440px;
    margin: 0 auto;
    padding: 35px 40px 60px 40px;
}

/* ===== HERO ===== */
.sc-hero {
    position: relative;
    margin-bottom: 22px;
}
.sc-eyebrow {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #7c3aed;
    margin-bottom: 14px;
}
.sc-hero h1 {
    font-size: 56px;
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: #14142b;
    margin-bottom: 15px;
}
.sc-hero h1 .grow {
    background: linear-gradient(90deg, #7c3aed, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.sc-hero p {
    font-size: 16px;
    line-height: 1.4;
    color: #6b6b85;
    max-width: 620px;
}
.sc-hero-banner {
    position: absolute;
    top: 150px;
    right: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border-radius: 12px;
    padding: 14px 18px;
    box-shadow: 0 6px 20px rgba(120,80,180,0.12);
    cursor: pointer;
    text-decoration: none;
}
.sc-hero-banner .sc-spark {
    color: #7c3aed;
    display: inline-flex;
}
.sc-hero-banner .sc-banner-text {
    font-size: 15px;
    color: #2b2b40;
}
.sc-hero-banner .sc-banner-text b { color: #7c3aed; font-weight: 700; }
.sc-hero-banner .sc-banner-arrow { color: #1a1a2e; display: inline-flex; }

/* ===== CARD GRID ===== */
.sc-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 42px 72px;
    margin-bottom: 42px;
	margin-top: 44px;
}
.sc-flip {
    perspective: 1400px;
    transition: transform 0.25s ease;
}
.sc-flip:hover {
    transform: scale(1.02);
}
.sc-flip-inner { position: relative; width: 100%; 
height: 200px; 
transition: transform 0.7s cubic-bezier(0.4,0.2,0.2,1); transform-style: preserve-3d; will-change: transform; }
/*
.sc-flip:hover .sc-flip-inner,
.sc-flip:focus-within .sc-flip-inner,
.sc-flip.flipped .sc-flip-inner {
    transform: rotateY(180deg);
}
*/
.sc-flip-inner {
    transform: none !important;
}
.sc-card-back {
    display: none;
}
.sc-card-front,
.sc-card-back {
    position: absolute;
    inset: 0;
    border-radius: 22px;
    background: linear-gradient(160deg, #ffffff 0%, #fdf4f7 100%);
    box-shadow: 0 10px 30px rgba(120,80,180,0.10);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
    padding: 25px 25px;
}
.sc-card-back {
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.sc-card-front {
    display: grid;
    grid-template-columns: 72px 1fr;
    column-gap: 18px;
    align-items: center;
}

/* 3D icon pod */
.sc-icon3d {
    width: 72px;
    align-self: start;
    margin-top: 4px;
}
.sc-icon3d img { display: block; width: 100%; height: auto; }


.sc-card-body { align-self: start; padding-right: 0; } 
.sc-card-title {
    font-size: 25px;
    font-weight: 700;
    color: #15152b;
    line-height: 1.05;
    margin-bottom: 2px;
}
.sc-card-studio {
    font-family: 'Caveat', cursive;
    font-size: 27px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 6px;
}
.sc-card-desc {
    font-size: 13px;
    line-height: 1.3;
    color: #6b6b85;
    margin-bottom: 16px;
}

.sc-tags { display: flex; gap: 8px; flex-wrap: wrap; }

@media (min-width: 761px) {
    .sc-tags { margin-left: -94px; margin-top: 4px; }
}
.sc-tag {
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 999px;
}

/* arrow CTA */
.sc-cta-arrow { position: absolute; bottom: 17px; right: 17px; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; box-shadow: 0 6px 16px rgba(0,0,0,0.18); transition: transform 0.2s ease; }
.sc-cta-arrow:hover { transform: scale(1.08); }

/* NEW corner badge (Instagram) */
.sc-new-badge {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-top: 54px solid #7c3aed;
    border-left: 54px solid transparent;
    border-top-right-radius: 22px;
    z-index: 4;
}
.sc-new-badge span {
    position: absolute;
    top: -43px;
    right: 6px;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    transform: rotate(45deg);
}

/* per-brand colours */
.ig-c { color: #E1306C; }   .ig-bg { background: #fdeaf1; color: #E1306C; }   .ig-arrow { background: linear-gradient(135deg,#fa7e1e,#d62976); }
.fb-c { color: #1877F2; }   .fb-bg { background: #e8f1fe; color: #1877F2; }   .fb-arrow { background: #1877F2; }
.x-c  { color: #7c3aed; }   .x-bg  { background: #efe9fd; color: #7c3aed; }   .x-arrow  { background: linear-gradient(135deg,#7c3aed,#5b21b6); }
.tt-c { color: #00C2BA; }   .tt-bg { background: #e2faf8; color: #0a9b95; }   .tt-arrow { background: linear-gradient(135deg,#25f4ee,#00bdb6); }
.li-c { color: #0A66C2; }   .li-bg { background: #e8f1fb; color: #0A66C2; }   .li-arrow { background: #0A66C2; }
.yt-c { color: #FF0000; }   .yt-bg { background: #ffeaea; color: #e60000; }   .yt-arrow { background: #FF0000; }

/* back face */
.sc-card-back h3 { font-size: 20px; margin-bottom: 4px; color: #15152b; }
.sc-card-back p { font-size: 13px; line-height: 1.5; color: #666; margin-bottom: 14px; }
.sc-back-cta {
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.sc-back-cta svg { transition: transform 0.2s ease; }
.sc-back-cta:hover svg { transform: translateX(3px); }

/* ===== FEATURE STRIP ===== */
.sc-feature-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: rgba(255,255,255,0.55);
    border-radius: 20px;
    padding: 22px 10px;
    box-shadow: 0 8px 24px rgba(120,80,180,0.08);
}
.sc-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 4px 24px;
    position: relative;
}
.sc-feature + .sc-feature::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 1px;
    background: rgba(120,80,180,0.16);
}
.sc-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}
.fi-ai   { background: linear-gradient(135deg,#8b5cf6,#7c3aed); }
.fi-easy { background: linear-gradient(135deg,#ec4899,#db2777); }
.fi-time { background: linear-gradient(135deg,#fbbf24,#f59e0b); }
.fi-grow { background: linear-gradient(135deg,#2dd4bf,#0d9488); }
.sc-feature-text b { display: block; font-size: 15px; color: #15152b; font-weight: 700; }
.sc-feature-text span { font-size: 12.5px; color: #6b6b85; }






/* ============================================================
   LOGIN PAGE  (lg- prefix, isolated from sc- start-page classes)
   ============================================================ */
.lg-split {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 60px;
    max-width: 1320px;
    margin: 0 auto;
    min-height: 100vh;
    padding: 40px 56px;
}

/* ----- LEFT PANEL ----- */
.lg-left { max-width: 560px;  }
.lg-logo { display: inline-flex; align-items: center; gap: 11px; margin-bottom: 90px; }
.lg-logo .lg-logo-text { font-size: 24px; font-weight: 800; letter-spacing: 0.5px; color: #16121f; }
.lg-eyebrow {
    font-size: 14px; font-weight: 700; letter-spacing: 2px;
    color: #7c3aed; margin-bottom: 10px;
}
.lg-headline {
    font-size: 64px; line-height: 0.98; font-weight: 800;
    letter-spacing: -2px; color: #14101f; margin-bottom: 26px;
}
.lg-headline .grad {
    background: linear-gradient(95deg, #b53bd6, #7c3aed);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lg-sub {
    font-size: 19px; line-height: 1.3; font-weight: 500;
    color: #4a4658; margin-bottom: 30px; max-width: 430px;
}
.lg-features { display: flex; flex-direction: column; gap: 20px; }
.lg-feature { display: flex; align-items: center; gap: 18px; }
.lg-feature-icon {
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(124,58,237,0.10);
    display: flex; align-items: center; justify-content: center;
    color: #7c3aed; flex-shrink: 0;
}
.lg-feature-text { font-size: 18px; font-weight: 500; color: #36323f; }
.lg-powered {
    margin-top: 74px; font-size: 13px; font-weight: 600; color: #6b6678;
}
.lg-powered b { color: #7c3aed; font-weight: 700; }

/* ----- RIGHT CARD ----- */
.lg-card {
    background: #ffffff;
    border-radius: 26px;
    padding: 48px 46px;
    box-shadow: 0 30px 80px rgba(120,80,180,0.18);
    width: 100%;
    max-width: 510px;
    justify-self: end;
}
.lg-card h2 { font-size: 30px; font-weight: 800; color: #16121f; margin-bottom: 10px; }
.lg-card .lg-card-sub { font-size: 15px; color: #7b7787; margin-bottom: 34px; }

.lg-field-label {
    display: block; font-size: 12px; font-weight: 700;
    letter-spacing: 0.6px; color: #37333f;
    text-transform: uppercase; margin-bottom: 9px;
}
.lg-input-wrap { position: relative; margin-bottom: 34px; }
.lg-input-wrap .lg-leading {
    position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
    color: #9b97a6; display: flex;
}
.lg-input-wrap input {
    width: 100%;
    padding: 15px 16px 15px 46px;
    border: 1.5px solid #e7e3ef;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    color: #16121f;
    background: #fbfaff;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.lg-input-wrap input::placeholder { color: #a9a5b4; }
.lg-input-wrap input:focus {
    outline: none; border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124,58,237,0.12);
}
.lg-input-wrap .lg-trailing {
    position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
    color: #9b97a6; cursor: pointer; display: flex;
    transition: color 0.2s;
}
.lg-input-wrap .lg-trailing:hover,
.lg-input-wrap .lg-trailing.active { color: #37333f; }

.lg-submit {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(95deg, #7c3aed 0%, #a855c9 55%, #ec6ca0 100%);
    color: #fff;
    font-size: 16px; font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    box-shadow: 0 12px 26px rgba(124,58,237,0.28);
    transition: transform 0.15s, box-shadow 0.2s;
}
.lg-submit:hover { transform: translateY(-1px); box-shadow: 0 16px 32px rgba(124,58,237,0.34); }
.lg-submit:active { transform: scale(0.99); }
.lg-submit:disabled { opacity: 0.7; cursor: default; }

.lg-notice {
    background: #fff3cd; color: #856404;
    padding: 12px; border-radius: 10px;
    margin-bottom: 22px; text-align: center;
    font-size: 14px; border: 1px solid #ffe08a;
}
.lg-error {
    display: none; background: #fdecef; color: #c0334d;
    padding: 11px; border-radius: 10px; margin-top: 16px;
    text-align: center; font-size: 14px;
}






/* =====================================================================
   LOGIN SLIDE-OUT PANEL  (paste into new.css)
   Self-contained — lp- prefix, no dependency on the old lg- full-page styles.
   ===================================================================== */

.lp-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 16, 31, 0.45);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    will-change: opacity;
    z-index: 998;
}
.lp-overlay.open { opacity: 1; visibility: visible; }

.lp-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 92vw;
    height: 100%;
    background: #ffffff;
    
    transform: translateX(100%);
    transition: transform 0.34s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    z-index: 999;
    display: flex;
    flex-direction: column;
    padding: 40px 40px 40px;
    overflow-y: auto;
}
.lp-panel.open { transform: translateX(0); }
.lp-hero img {
    width: 60%;
    height: auto;
    display: block;
    margin: 0px auto 15px auto;
}
.lp-close {
    position: absolute;
    top: 18px;
    right: 20px;
    width: 36px;
    height: 36px;
    border: none;
    background: #f3eefb;
    color: #7c3aed;
    border-radius: 10px;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s;
}
.lp-close:hover { background: #e9def9; }

.lp-inner { display: flex; flex-direction: column; }

.lp-title {
    font-size: 28px;
    font-weight: 800;
    color: #14101f;
    letter-spacing: -0.5px;
    margin-bottom: 6px; 
	text-align: center;
}
.lp-sub {
    font-size: 14px;
    color: #6b6680;
    margin-bottom: 26px;
	text-align: center;
}
.lp-hero {
    width: 100%;
	
}
.lp-notice {
    background: #fff3cd;
    color: #856404;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 14px;
    border: 1px solid #ffe08a;
}

.lp-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #6b6680;
    margin-bottom: 7px;
}

.lp-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 18px;
}
.lp-input-wrap .lp-leading {
    position: absolute;
    left: 14px;
    display: flex;
    color: #a99fd0;
    pointer-events: none;
}
.lp-input-wrap input {
    width: 100%;
    padding: 14px 14px 14px 44px;
    border: 1.5px solid #e7e0f5;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    color: #14101f;
    background: #faf8ff;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.lp-input-wrap input:focus {
    outline: none;
    border-color: #7c3aed;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}
.lp-trailing {
    position: absolute;
    right: 12px;
    display: flex;
    color: #a99fd0;
    cursor: pointer;
    padding: 4px;
}
.lp-trailing.active { color: #7c3aed; }

.lp-submit {
    margin-top: 6px;
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(95deg, #7c3aed, #a855c9, #ec6ca0);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 12px 26px rgba(124, 58, 237, 0.28);
    transition: transform 0.15s, box-shadow 0.2s, opacity 0.2s;
}
.lp-submit:hover { transform: translateY(-1px); box-shadow: 0 16px 32px rgba(124, 58, 237, 0.34); }
.lp-submit:active { transform: scale(0.99); }
.lp-submit:disabled { opacity: 0.7; cursor: default; }

.lp-error {
    display: none;
    background: #fdecef;
    color: #c0334d;
    padding: 11px;
    border-radius: 10px;
    margin-top: 16px;
    text-align: center;
    font-size: 14px;
}

body.lp-lock { overflow: hidden; }

@media (max-width: 480px) {
    .lp-panel { width: 100%; max-width: 100%; padding: 52px 26px 32px; }
    .lp-input-wrap input { font-size: 16px; }   /* stops iOS zoom-on-focus */
}


 

/* ============================================================
   RESPONSIVE  (design only — markup and class names unchanged)
   Tap-to-flip preserved at every width.
   ============================================================ */

/* ----- Tablet: 2 columns ----- */
@media (max-width: 1180px) {
.sc-card-grid {
 
    gap: 42px 72px;
    margin-top: 30px;
}
.sc-flip-inner {
 
    height: 220px;
 
}
.sc-hero p {
    font-size: 16px;
 
    max-width: 570px;
}
    .sc-card-grid { grid-template-columns: repeat(2, 1fr); }
    .sc-hero h1 { font-size: 52px; }
    .sc-flip-inner { height: 250px; }
}
/* ----- LOGIN RESPONSIVE ----- */
@media (max-width: 940px) {
    .lg-split {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 28px;
    }
    .lg-left { max-width: 100%; }
    .lg-logo { margin-bottom: 40px; }
    .lg-headline { font-size: 54px; }
    .lg-sub { font-size: 21px; margin-bottom: 36px; }
    .lg-powered { margin-top: 40px; }
    .lg-card { justify-self: stretch; max-width: 100%; }
}

@media (max-width: 480px) {
    .lg-split { padding: 28px 18px; }
    .lg-headline { font-size: 42px; letter-spacing: -1px; }
    .lg-sub { font-size: 18px; }
    .lg-card { padding: 34px 24px; }
    .lg-card h2 { font-size: 26px; }
}
/* ----- Hero banner stops floating, feature strip to 2 cols ----- */
@media (max-width: 980px) {
    .sc-hero-banner { position: static; top: auto; right: auto; margin-top: 22px; }
    .sc-feature-strip { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
    .sc-feature:nth-child(3)::before { display: none; }
    .sc-hero h1 { font-size: 46px; }
}

/* ----- Single column ----- */
@media (max-width: 760px) {
    .sc-topbar { padding: 16px 20px 0 20px; }
 
    .sc-user-name { font-size: 14px; }
    .sc-page { padding: 22px 20px 48px 20px; }

    .sc-hero h1 { font-size: 38px; letter-spacing: -1px; }
    .sc-eyebrow { font-size: 12.5px; letter-spacing: 1.5px; }
    .sc-hero p { font-size: 15.5px; max-width: 100%; }

    .sc-card-grid { grid-template-columns: 1fr; gap: 20px; }
    .sc-flip-inner { height: 220px; }

    .sc-feature-strip { grid-template-columns: 1fr; padding: 14px 6px; }
    .sc-feature { padding: 12px 20px; }
    .sc-feature::before { display: none !important; }
	.sc-hero h1 br { display: none; }
}

/* ----- Phone ----- */
@media (max-width: 480px) {
.lp-hero { display: none; }
    .sc-hero h1 { font-size: 32px; }

.sc-card-front {
        grid-template-columns: 70px 1fr;
        column-gap: 16px;
        padding: 22px 20px;
        align-items: start;
    }
    .sc-card-body { align-self: start; }
    .sc-icon3d { width: 70px; }
    .sc-icon3d svg { width: 36px; height: 36px; }
    .sc-card-title { font-size: 21px; }
    .sc-card-studio { font-size: 23px; }
    .sc-card-desc { font-size: 13px; }

    .sc-tags { gap: 6px; }
    .sc-tag { font-size: 11px; padding: 4px 10px; }

    .sc-flip-inner { height: 252px; }

    .sc-new-badge { border-top-width: 48px; border-left-width: 48px; }
    .sc-new-badge span { top: -36px; font-size: 8px; }

    .sc-user-pill { padding: 6px 12px 6px 7px; }
    .sc-user-avatar { width: 26px; height: 26px; }
}

/* ----- Small phone ----- */
@media (max-width: 360px) {
    .sc-hero h1 { font-size: 28px; }
    .sc-card-title { font-size: 19px; }
    .sc-card-studio { font-size: 21px; }
}