:root {
    --purple: #8b5cf6;
    --purple-dark: #7c3aed;
    --pink: #ec4899;
    --teal: #14b8a6;
    --blue: #3b82f6;
    --orange: #fb923c;
    --gold: #f59e0b;
    --gradient-primary: linear-gradient(135deg, var(--purple), var(--pink));
    --bg-deep: #150a30;
    --bg-mid: #241246;
    --bg-panel: #1c1040;
}

* {
    box-sizing: border-box;
}

body {
    background: radial-gradient(circle at 15% 0%, #2c1660 0%, transparent 45%),
                radial-gradient(circle at 85% 15%, #3a1470 0%, transparent 40%),
                linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-mid) 100%);
    background-attachment: fixed;
    color: white;
    font-family: 'Poppins', Arial, sans-serif;
    text-align: center;
    margin: 0;
}

h1 {
    font-size: 60px;
}

p {
    font-size: 22px;
    color: #e8e6f0;
}

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

/* Visually hidden but available to screen readers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip link: hidden until focused */
.skip-link {
    position: absolute;
    top: -60px;
    left: 12px;
    background: white;
    color: #111827;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 700;
    z-index: 200;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 12px;
}

/* Consistent visible focus outline for keyboard users */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid #93c5fd;
    outline-offset: 3px;
}

button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
}

button:hover {
    filter: brightness(1.1);
}

/* ===========================
   NAVIGATION
=========================== */

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 60px;
}

.logo {
    font-size: 26px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

nav .logo {
    background: none;
}

nav > .logo span[aria-hidden] {
    background: var(--gradient-primary);
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

nav .primary-btn {
    padding: 12px 26px;
    border-radius: 999px;
    font-size: 15px;
}

ul {
    list-style: none;
    display: flex;
    gap: 35px;
    margin: 0;
    padding: 0;
    align-items: center;
}

li {
    cursor: pointer;
    transition: 0.3s;
}

li a {
    display: block;
}

li:hover {
    color: #c9a4ff;
}

/* Nav CTA pill */
.nav-cta {
    background: var(--gradient-primary);
    padding: 11px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    display: inline-block;
}

.nav-cta:hover {
    filter: brightness(1.1);
    color: white;
}

/* Hamburger button, hidden on desktop */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: none;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: white;
    border-radius: 2px;
}

/* ===========================
   HERO LAYOUT
=========================== */

.hero {
    max-width: 1400px;
    width: 90%;
    margin: 0 auto;
    padding: 100px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
}

.hero-left {
    flex: 1.3;
    max-width: 700px;
    text-align: left;
}

.eyebrow-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(139, 92, 246, .18);
    border: 1px solid rgba(196, 154, 255, .35);
    color: #d9baff;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 999px;
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.trust-row {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.trust-row span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #d9d3ec;
}

.trust-row .check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 6px;
}

.hero-left h1 {
    font-size: 60px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-left h2 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #e5edff;
}

.hero-left p {
    font-size: 20px;
    color: #eceafc;
    line-height: 1.8;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.primary-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 16px 35px;
    border-radius: 12px;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}

.primary-btn:hover {
    transform: translateY(-5px);
    filter: brightness(1.1);
}

.secondary-btn {
    background: rgba(255, 255, 255, .06);
    color: white;
    border: 1.5px solid rgba(255, 255, 255, .35);
    padding: 16px 35px;
    border-radius: 12px;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}

.secondary-btn:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, .12);
}

/* Hero character illustration */
.hero-illustration {
    flex-shrink: 0;
    width: 240px;
    display: none;
}

@media (min-width: 1150px) {
    .hero-illustration {
        display: block;
    }
}

.preview-wrap {
    display: flex;
    align-items: stretch;
    gap: 0;
    position: relative;
}

.icon-rail {
    width: 60px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-right: none;
    border-radius: 20px 0 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 20px 0;
    backdrop-filter: blur(6px);
}

.icon-rail .rail-item {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #cbb8ef;
    cursor: default;
}

.icon-rail .rail-item.active {
    background: var(--gradient-primary);
    color: white;
}

/* AI chat preview card */
.ai-preview {
    width: 100%;
    max-width: 420px;
    background: var(--bg-panel);
    color: white;
    border-radius: 0 20px 20px 0;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(60, 20, 110, .5);
    border: 1px solid rgba(255, 255, 255, .1);
    border-left: none;
}

.preview-header {
    background: rgba(255, 255, 255, .05);
    padding: 18px 22px;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.preview-body {
    padding: 22px;
}

.preview-message {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #e7e0f7;
}

.preview-btn-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 6px;
}

.preview-btn {
    width: 100%;
    padding: 16px 10px;
    margin-top: 0;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    background: rgba(255, 255, 255, .06);
    color: white;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: .25s;
    text-align: left;
    line-height: 1.4;
}

.preview-btn span[aria-hidden] {
    display: block;
    font-size: 18px;
    margin-bottom: 6px;
}

.preview-btn:hover {
    background: rgba(255, 255, 255, .12);
    transform: translateY(-2px);
}

.preview-btn.accent-ideas span[aria-hidden] { color: var(--orange); }
.preview-btn.accent-script span[aria-hidden] { color: var(--pink); }
.preview-btn.accent-growth span[aria-hidden] { color: var(--teal); }
.preview-btn.accent-seo span[aria-hidden] { color: var(--blue); }

/* Floating decorative badges around the preview */
.float-badge {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .3);
    animation: floaty 4s ease-in-out infinite;
}

@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.badge-ai {
    top: -30px;
    left: 10px;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    font-weight: 800;
    font-size: 15px;
    animation-delay: .2s;
}

.badge-chat {
    top: -20px;
    right: -10px;
    width: 70px;
    height: 50px;
    background: #f8b4d9;
    border-radius: 16px 16px 4px 16px;
    animation-delay: .6s;
}

.badge-heart {
    bottom: 40%;
    left: -35px;
    width: 46px;
    height: 46px;
    background: #ff6f91;
    border-radius: 50%;
    font-size: 20px;
    animation-delay: 1s;
}

.badge-thumb {
    bottom: -15px;
    left: 20%;
    width: 50px;
    height: 50px;
    background: #22c55e;
    border-radius: 14px;
    font-size: 20px;
    animation-delay: 1.4s;
}

.badge-clock {
    top: 15%;
    right: -40px;
    width: 46px;
    height: 46px;
    background: #f59e0b;
    border-radius: 50%;
    font-size: 20px;
    animation-delay: 1.8s;
}

@media (max-width: 900px) {
    .float-badge { display: none; }
    .icon-rail { display: none; }
    .ai-preview { border-radius: 20px; border-left: 1px solid rgba(255, 255, 255, .1); }
}

/* ===========================
   STATS BAR
=========================== */

.stats-bar {
    max-width: 1200px;
    margin: 0 auto 40px;
    width: 90%;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 20px;
    padding: 30px 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    backdrop-filter: blur(6px);
}

.stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.stat-item .stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.stat-item .stat-text {
    text-align: left;
}

.stat-item .stat-number {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
}

.stat-item .stat-label {
    font-size: 13px;
    color: #cbb8ef;
}

@media (max-width: 900px) {
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stats-bar {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   FEATURES SECTION
=========================== */

.features {
    max-width: 1200px;
    margin: 80px auto;
    padding: 40px;
    text-align: center;
}

.features h2 {
    font-size: 42px;
    margin-bottom: 14px;
}

.feature-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.card {
    background: white;
    color: #111827;
    width: 320px;
    padding: 36px;
    border-radius: 20px;
    text-align: left;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .15);
    transition: .35s;
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .25);
}

.card-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.card p {
    font-size: 16px;
    line-height: 1.7;
    color: #4b5563;
}

.card.accent-idea .card-icon { background: #ffe4d1; }
.card.accent-script .card-icon { background: #fbd2e8; }
.card.accent-thumb .card-icon { background: #e6d8fb; }
.card.accent-calendar .card-icon { background: #ccfbef; }
.card.accent-seo .card-icon { background: #d7e6ff; }
.card.accent-repurpose .card-icon { background: #ffe9c2; }
.card.accent-monetize .card-icon { background: #d1fae5; }

/* ===========================
   PRICING SECTION
=========================== */

.pricing {
    max-width: 1200px;
    margin: 80px auto;
    padding: 40px;
    text-align: center;
}

.pricing h2 {
    font-size: 42px;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 18px;
    color: #e5edff;
    margin-bottom: 50px;
}

.pricing-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.price-card {
    background: white;
    color: #111827;
    width: 300px;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .15);
    transition: .35s;
    position: relative;
}

.price-card:hover {
    transform: translateY(-10px);
}

.price-card.featured {
    background: #111827;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}

.price-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 999px;
}

.price-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.price-card .price {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 25px;
}

.price-card .price span {
    font-size: 16px;
    font-weight: 400;
    color: #6b7280;
}

.price-card.featured .price span {
    color: #9ca3af;
}

.price-card ul {
    list-style: none;
    display: block;
    text-align: left;
    padding: 0;
    margin: 0 0 30px 0;
}

.price-card ul li {
    padding: 10px 0;
    font-size: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    cursor: default;
}

.price-card.featured ul li {
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.price-card button {
    width: 100%;
}

.price-card .secondary-btn {
    background: #f3f4f6;
    color: #111827;
    border: 1.5px solid #e5e7eb;
}

.price-card .secondary-btn:hover {
    background: #e5e7eb;
}

.price-card.featured .secondary-btn {
    background: rgba(255, 255, 255, .1);
    color: white;
    border: 1.5px solid rgba(255, 255, 255, .3);
}

/* ===========================
   BLOG SECTION
=========================== */

.blog {
    max-width: 1200px;
    margin: 80px auto;
    padding: 40px;
    text-align: center;
}

.blog h2 {
    font-size: 42px;
    margin-bottom: 10px;
}

.blog-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.blog-card {
    background: white;
    color: #111827;
    width: 320px;
    padding: 35px;
    border-radius: 20px;
    text-align: left;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .15);
    transition: .3s;
}

.blog-card:hover {
    transform: translateY(-8px);
}

.blog-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.blog-card p {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-link {
    font-weight: 700;
    color: var(--purple-dark);
}

/* ===========================
   FOOTER
=========================== */

.trusted {
    text-align: center;
    padding: 70px 20px;
}

.trusted p {
    color: #e5edff;
    font-size: 20px;
    margin-bottom: 35px;
}

.logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 25px;
}

.logos span {
    background: rgba(255, 255, 255, .08);
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    transition: .3s;
}

.logos span:hover {
    opacity: 1;
    transform: scale(1.1);
}

footer {
    text-align: center;
    padding: 80px 20px;
}

footer h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

footer p {
    color: #d1d5db;
    margin-top: 10px;
}

/* ===========================
   MODALS
=========================== */

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 35, .65);
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 100;
}

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

.modal {
    position: relative;
    background: white;
    color: #111827;
    width: 100%;
    max-width: 420px;
    border-radius: 20px;
    padding: 40px 35px;
    text-align: left;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}

.modal h3 {
    font-size: 26px;
    margin: 0 0 10px 0;
}

.modal-subtitle {
    font-size: 15px;
    color: #6b7280;
    margin: 0 0 25px 0;
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: #f3f4f6;
    color: #111827;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 16px;
    padding: 0;
    cursor: pointer;
}

.modal-close:hover {
    background: #e5e7eb;
}

.modal form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.modal input,
.modal textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    color: #111827;
}

.modal textarea {
    resize: vertical;
}

.modal input:focus,
.modal textarea:focus {
    outline: none;
    border-color: #3B82F6;
}

.modal form button {
    margin-top: 6px;
}

.video-placeholder {
    background: #111827;
    color: white;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

/* ===========================
   SIMPLE CONTENT PAGES
   (About, Terms, Privacy, Blog posts)
=========================== */

.content-page {
    max-width: 820px;
    margin: 0 auto;
    padding: 60px 20px 100px;
    text-align: left;
}

.content-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #d9baff;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 30px;
}

.content-eyebrow {
    margin-bottom: 20px;
}

.content-page h1 {
    font-size: 44px;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 18px;
    text-align: left;
}

.content-meta {
    color: #c9b8e8;
    font-size: 15px;
    margin-bottom: 40px;
}

.content-page h2 {
    font-size: 26px;
    text-align: left;
    margin: 40px 0 16px;
}

.content-page p {
    font-size: 17px;
    line-height: 1.85;
    color: #e5deF5;
    margin-bottom: 20px;
}

.content-page ul,
.content-page ol {
    display: block;
    color: #e5def5;
    font-size: 17px;
    line-height: 1.9;
    margin: 0 0 20px;
    padding-left: 24px;
    text-align: left;
}

.content-page li {
    display: list-item;
}

.content-page li {
    margin-bottom: 10px;
}

.content-page strong {
    color: white;
}

.content-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 18px;
    padding: 30px 35px;
    margin: 30px 0;
}

.content-cta {
    margin-top: 50px;
    padding: 36px;
    border-radius: 20px;
    background: rgba(139, 92, 246, .12);
    border: 1px solid rgba(196, 154, 255, .3);
    text-align: center;
}

.content-cta h2 {
    text-align: center;
    margin-top: 0;
}

.content-cta p {
    text-align: center;
}

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

.team-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px;
    padding: 26px 20px;
    text-align: center;
}

.team-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 14px;
}

.team-card h3 {
    font-size: 17px;
    margin-bottom: 4px;
    text-align: center;
}

.team-card p {
    font-size: 14px;
    color: #c9b8e8;
    margin-bottom: 0;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.footer-links a {
    color: #cbb8ef;
    font-size: 14px;
}

.footer-links a:hover {
    color: white;
}

@media (max-width: 700px) {
    .content-page h1 {
        font-size: 32px;
    }
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   RESPONSIVE / MOBILE
=========================== */

@media (max-width: 900px) {

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 0;
        gap: 50px;
    }

    .hero-left {
        text-align: center;
        max-width: 100%;
    }

    .hero-left h1 {
        font-size: 40px;
    }

    .hero-left h2 {
        font-size: 22px;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    nav {
        padding: 20px 25px;
    }

    .nav-toggle {
        display: flex;
    }

    ul#navMenu {
        position: absolute;
        top: 78px;
        right: 25px;
        left: 25px;
        background: #16265e;
        border-radius: 16px;
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
        display: none;
        box-shadow: 0 20px 40px rgba(0, 0, 0, .3);
    }

    ul#navMenu.open {
        display: flex;
    }

    ul#navMenu li {
        padding: 14px 25px;
        text-align: left;
    }

    .price-card.featured {
        transform: scale(1);
    }

    .price-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 480px) {

    .hero-left h1 {
        font-size: 32px;
    }

    .card,
    .price-card,
    .blog-card {
        width: 100%;
    }
}/* ===========================
   DASHBOARD
=========================== */

.dashboard{
    display:flex;
    min-height:100vh;
    background:#f4f7fc;
}

/* Sidebar */

.sidebar{
    width:280px;
    min-width:280px;
    height:100vh;

    background:#0f172a;

    color:white;

    display:flex;
    flex-direction:column;

    padding:30px 20px;

    box-sizing:border-box;
}

.logo{
    text-align:center;
    margin-bottom:40px;
}

.logo h2{
    font-size:30px;
    line-height:1.3;
}

.sidebar nav{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.menu-item{
    display:flex;
    align-items:center;
    gap:14px;

    text-decoration:none;
    color:white;

    padding:15px 18px;

    border-radius:12px;

    transition:.25s;
}

.menu-item:hover{
    background:#1e3a8a;
}

.menu-item.active{
    background:#2563eb;
}

.menu-item span:first-child{
    font-size:20px;
    width:24px;
    text-align:center;
}

.menu-item span:last-child{
    font-size:17px;
    font-weight:500;
}

/* Content */

.dashboard-content{
    flex:1;
    padding:40px;
}

.dashboard-header h1{
    font-size:42px;
    color:#111827;
    margin-bottom:10px;
}

.dashboard-header p{
    color:#6b7280;
    font-size:18px;
    margin-bottom:40px;
}

/* Cards */

.tool-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:30px;
}

.tool-card{
    background:white;
    padding:35px;
    border-radius:20px;
    box-shadow:0 12px 35px rgba(0,0,0,.08);
    transition:.3s;
    cursor:pointer;
}

.tool-card:hover{
    transform:translateY(-8px);
}

.tool-card h3{
    margin:20px 0 10px;
    font-size:24px;
}

.tool-card p{
    color:#6b7280;
}
.tool-icon{
    font-size:40px;
    margin-bottom:20px;
}
/* ==========================
   Generate Button
========================== */

.generate-btn {
    width: 100%;
    padding: 18px;
    margin-top: 30px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.generate-btn:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.35);
}
/* ==========================================
   WORKSPACE
========================================== */

.workspace{
    max-width:1200px;
    margin:60px auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
    padding:20px;
}

.workspace-left,
.workspace-right{
    background:#ffffff;
    border-radius:20px;
    padding:35px;
    box-shadow:0 10px 30px rgba(0,0,0,.1);
}

.workspace-left h2,
.workspace-right h2{
    margin-bottom:25px;
    color:#111827;
}

.workspace-left label{
    display:block;
    font-weight:600;
    color:#374151;
    margin-top:20px;
    margin-bottom:8px;
}

.workspace-left input,
.workspace-left select{
    width:100%;
    padding:14px;
    border:1px solid #d1d5db;
    border-radius:10px;
    font-size:16px;
    box-sizing:border-box;
}

.output-box{
    min-height:650px;
    border:1px solid #e5e7eb;
    border-radius:16px;
    padding:30px;
    background:white;
    color:#1f2937;
    line-height:1.8;
    overflow-y:auto;

}
.output-box h2{
    font-size:30px;
    margin-bottom:20px;
    color:#111827;
}

.output-box h3{
    margin-top:30px;
    color:#2563EB;
}

.output-box p{
    color:#374151;
    font-size:17px;
}

.output-box ul{
    margin-left:20px;
    color:#374151;
}

.output-box li{
    margin-bottom:10px;
}
.chat-input{
    display:flex;
    align-items:center;

    background:#ffffff;

    border-radius:50px;

    padding:8px;

    margin-top:20px;

    box-shadow:0 12px 35px rgba(0,0,0,.12);

    transition:.3s;
}

.chat-input:hover{
    box-shadow:0 18px 45px rgba(0,0,0,.18);
}

.chat-input input{

    flex:1;

    border:none;

    outline:none;

    background:transparent;

    font-size:15px;

    padding:12px 18px;
}

#sendPrompt{

    width:46px;

    height:46px;

    border:none;

    border-radius:50%;

    background:var(--gradient-primary);

    color:white;

    font-size:20px;

    cursor:pointer;

    transition:.3s;
}

#sendPrompt:hover{

    filter:brightness(1.1);

    transform:scale(1.08);
}
/* ==========================
   Dashboard Stats
========================== */

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

.stat-card{
    background:#ffffff;
    border-radius:18px;
    padding:25px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.stat-card:hover{
    transform:translateY(-6px);
}

.stat-card h3{
    font-size:34px;
    color:#2f5ee8;
    margin-bottom:10px;
}

.stat-card p{
    color:#666;
    font-size:15px;
}
/* ==========================
   MY PROJECTS
========================== */

.projects-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

    margin-top:40px;

}

.project-card{

    background:white;

    border-radius:20px;

    padding:30px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    transition:.3s;

}

.project-card:hover{

    transform:translateY(-8px);

}

.project-card h3{

    margin-bottom:15px;

    color:#111827;

}

.project-card p{

    color:#6b7280;

    margin-bottom:25px;

}

.open-btn{

    background:#2563eb;

    color:white;

    border:none;

    padding:12px 25px;

    border-radius:10px;

    cursor:pointer;

    font-size:15px;

}

.open-btn:hover{

    background:#1d4ed8;

}
/* =========================
   SAVE PROJECT BUTTON
========================= */

.save-project-btn{
    width:100%;
    margin-top:20px;
    padding:16px;
    border:none;
    border-radius:12px;
    background:#16a34a;
    color:white;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
    transition:0.3s;
}

.save-project-btn:hover{
    background:#15803d;
}
/* ===========================
   AUTH PAGES (login / signup)
=========================== */

.auth-body {
    display: flex;
    min-height: 100vh;
}

.auth-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: white;
    color: #111827;
    border-radius: 20px;
    padding: 45px 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
    text-align: left;
}

.auth-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 20px;
    color: #111827;
    margin-bottom: 30px;
}

.auth-card h1 {
    font-size: 30px;
    margin: 0 0 8px;
    color: #111827;
}

.auth-subtitle {
    color: #6b7280;
    font-size: 16px;
    margin: 0 0 30px;
}

.form-field {
    margin-bottom: 20px;
    text-align: left;
}

.form-field label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #374151;
    margin-bottom: 6px;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 16px;
    box-sizing: border-box;
    font-family: inherit;
}

.form-hint {
    font-size: 13px;
    color: #6b7280;
    margin: 6px 0 0;
}

.form-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14px;
    margin: 0 0 18px;
}

.form-success {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14px;
    margin: 0 0 18px;
}

.auth-submit {
    width: 100%;
}

.auth-switch {
    text-align: center;
    margin: 24px 0 0;
    font-size: 15px;
    color: #6b7280;
}

.auth-switch a {
    color: #2563EB;
    font-weight: 600;
}

/* Sidebar user footer + logout */
.sidebar-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.sidebar-user {
    font-size: 14px;
    color: #cbd5e1;
    padding: 0 18px 12px;
}

.logout-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: white;
    border: none;
    padding: 13px 18px;
    border-radius: 12px;
    font-size: 15px;
    text-align: left;
    cursor: pointer;
    transition: .25s;
}

.logout-btn:hover {
    background: #1e3a8a;
}

/* Tool cards as links need button-like reset */
a.tool-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Loading / disabled state for generate + submit buttons */
button[disabled] {
    opacity: .7;
    cursor: not-allowed;
}

button[disabled]:hover {
    transform: none !important;
}

.output-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 16px 18px;
}

.output-loading {
    color: #6b7280;
    font-size: 16px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}

.delete-btn {
    background: transparent;
    color: #b91c1c;
    border: 1px solid #fecaca;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    cursor: pointer;
    margin-left: 10px;
}

.delete-btn:hover {
    background: #fef2f2;
}

.project-card-actions {
    display: flex;
    gap: 10px;
}

/* ===========================
   WORKSPACE TOP BAR
=========================== */

/* ===========================
   IDEA -> RESEARCH -> SCRIPT PIPELINE
=========================== */

.pipeline {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 20px 100px;
    text-align: left;
}

.pipeline-intro {
    text-align: center;
    margin-bottom: 40px;
}

.pipeline-intro h1 {
    font-size: 38px;
    margin: 18px 0 12px;
}

.pipeline-sub {
    color: #d9d3ec;
    font-size: 17px;
    max-width: 560px;
    margin: 0 auto;
}

.pipeline-steps {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 0 0 40px;
    padding: 0;
}

.pipeline-step {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    color: #9d8fc2;
    font-weight: 600;
    font-size: 14px;
}

.pipeline-step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.pipeline-step.is-active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

.pipeline-step.is-active .pipeline-step-num {
    background: rgba(255, 255, 255, .3);
}

.pipeline-panel {
    background: var(--bg-panel);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 20px;
    padding: 36px;
    margin-bottom: 30px;
}

.pipeline-panel h2 {
    text-align: left;
    font-size: 22px;
    margin-bottom: 10px;
}

.pipeline-panel-sub {
    color: #c9bce8;
    font-size: 15px;
    margin-bottom: 20px;
}

.pipeline-panel input[type="text"] {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .15);
    background: rgba(255, 255, 255, .05);
    color: white;
    font-size: 16px;
    margin-bottom: 20px;
}

.pipeline-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.pipeline-panel label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #cbb8ef;
    margin-bottom: 6px;
}

.pipeline-panel select {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .15);
    background: rgba(255, 255, 255, .05);
    color: white;
}

.pipeline-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
}

@media (max-width: 700px) {
    .pipeline-row {
        grid-template-columns: 1fr;
    }
    .pipeline-steps {
        flex-wrap: wrap;
    }
}

/* Flagship CTA card on Dashboard (light theme, matches dashboard-content) */
.flagship-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 20px;
    padding: 28px 32px;
    margin-bottom: 36px;
    text-decoration: none;
    color: white;
    transition: .25s;
    box-shadow: 0 15px 35px rgba(124, 58, 237, .25);
}

.flagship-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(124, 58, 237, .35);
}

.flagship-cta-eyebrow {
    display: inline-block;
    background: rgba(255, 255, 255, .22);
    color: white;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
}

.flagship-cta h2 {
    font-size: 24px;
    margin: 0 0 6px;
    text-align: left;
    color: white;
}

.flagship-cta p:last-child {
    color: rgba(255, 255, 255, .9);
    font-size: 15px;
    margin: 0;
}

.flagship-cta-arrow {
    font-size: 28px;
    flex-shrink: 0;
    color: white;
}

@media (max-width: 700px) {
    .flagship-cta {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}

.workspace-topbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.workspace-back {
    color: white;
    font-weight: 600;
    font-size: 15px;
}

.workspace-topnav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.workspace-topnav a {
    color: white;
    font-weight: 600;
    font-size: 15px;
}

.workspace-logout {
    width: auto;
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 10px;
}
