:root {
    --bg-primary: #030617; /* Near Black */
    --bg-secondary: #0A0F1E; /* Deep Space Blue */
    --bg-card: rgba(17, 25, 40, 0.85);
    --bg-card-hover: rgba(25, 35, 55, 0.95);
    --bg-control: #1a1f36;
    --bg-control-hover: #2a2f4d;
    --text-primary: #F0F4F8; /* Off-white */
    --text-disabled: #919191;
    --text-secondary: #A0AEC0; /* Cool Gray */
    --accent-primary: #00CFE8; /* Electric Cyan */
    --accent-secondary: #7F5AF0; /* Vibrant Purple */
    --accent-tertiary: #FF00A0; /* Hot Pink/Magenta */
    --border-color: rgba(100, 116, 139, 0.3);
    --font-main-heading: 'Russo One', 'Orbitron', sans-serif;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --shadow-light: 0 0 15px rgba(var(--accent-primary-rgb), 0.3), 0 0 30px rgba(var(--accent-primary-rgb), 0.2);
    --shadow-strong: 0 0 25px rgba(var(--accent-primary-rgb), 0.5), 0 0 50px rgba(var(--accent-primary-rgb), 0.3);
    --accent-primary-rgb: 0, 207, 232;
    --accent-secondary-rgb: 127, 90, 240;
    --accent-tertiary-rgb: 255, 0, 160;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    min-height:100%;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 10% 10%, rgba(var(--accent-secondary-rgb), 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(var(--accent-primary-rgb), 0.05) 0%, transparent 40%);
    background-attachment: fixed;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 1.5px;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 15px;
    text-shadow: 0 0 10px rgba(var(--accent-primary-rgb), 0.3);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 3px;
    box-shadow: 0 0 15px rgba(var(--accent-primary-rgb), 0.5);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin-bottom: 60px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}
.date-updated{padding-top:20px;}

.Terms .welcome{text-align: center;color: var(--text-secondary);font-size: 1.16rem;margin-bottom: 60px;margin-left: auto;margin-right: auto;line-height: 1.8;max-width:800px;}
.Terms p{color: var(--text-secondary);font-size:1.1rem;margin-bottom: 15px;font-weight:400;}
.Terms ol{list-style-position: inside;color: white; font-weight:700;}
.Terms p.li-desc{display: inline;color:white;font-weight:700;}
.Terms p>strong{color:white;font-size:1.05rem;font-weight: 500;}
.Terms ul{list-style: none;padding-left: 30px;padding-top:12px;}
.Terms ul ul{font-weight: 300;color: var(--text-secondary);padding-top:0;}
.Terms ul ul>li{padding-bottom:11px;}
.Terms a{color: white;text-decoration: none;transition: color 0.3s ease, text-shadow 0.3s ease;}
.Terms a:hover{color: var(--accent-primary);text-shadow: 0 0 8px rgba(var(--accent-primary-rgb),0.7);}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    box-sizing: border-box;
    background: rgba(3, 6, 23, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
header.scrolled {
    background: rgba(10, 15, 30, 0.85);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-left:auto;
}
.Index nav,.Login nav{
	margin: 0 auto;
    padding: 0 20px;
    max-width: 1300px;
    width: 100%;
    box-sizing: border-box;
}
.head-menu{width:40px;height:40px;display:none;cursor:pointer;}
/*.Index .user-info{margin-left:20px;}*/
.logo {
    font-family: var(--font-main-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(var(--accent-primary-rgb), 0.7);
}
.logo span {
    color: var(--accent-primary);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a, nav ul li p {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}
/*
nav ul li a::after, nav ul li p::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-image: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transition: width 0.4s ease;
    border-radius: 1px;
}
*/

nav ul li a:hover, nav ul li p:hover, nav ul li a.active-link,  nav ul li p.active-link{
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(var(--accent-primary-rgb), 0.8);
}

nav ul li a:hover::after, nav ul li p:hover::after, nav ul li a.active-link::after, nav ul li p.active-link::after {
    width: 100%;
}

nav ul li .SubMenu{
	position:relative;
}

nav ul li .SubMenu>.in{
	display:none;
}

nav ul li .SubMenu:hover>.in{
	display:block;
	position: absolute;
	top: 2rem;
	left: 0.8rem;
	background: var(--bg-primary);
	padding: 8px 12px;
	word-break: keep-all;
}

nav ul li .SubMenu:hover>.in ul {
	display: block;
}

nav ul li .SubMenu:hover>.in ul li + li{
	margin-top:1rem;
}

.btn-std {
    padding: 6px 18px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.user-info>.buttons {display: flex;align-items: center;margin-left:20px;}
.user-info>.buttons button {
    padding: 10px 22px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
}

.btn-secondary:hover {
    background-color: var(--accent-primary);
    color: var(--bg-primary);
    box-shadow: var(--shadow-light);
}

.btn-primary {
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    color: var(--text-primary);
}

.btn-primary>a{
	color: var(--text-primary);
	text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 0 20px rgba(var(--accent-secondary-rgb), 0.6), 0 0 35px rgba(var(--accent-primary-rgb), 0.4);
}

.btn-close-open.closed {background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxwb2x5bGluZSBwb2ludHM9IjQsNiA4LDEwIDEyLDYiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzAwQ0ZFOCIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4NCjwvc3ZnPg0K)
    calc(100% - 10px) center no-repeat transparent; padding-right: 32px;}

.btn-close-open.closed:hover {
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxwb2x5bGluZSBwb2ludHM9IjQsNiA4LDEwIDEyLDYiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4NCjwvc3ZnPg0K);
    background-color: var(--accent-primary);
    color: var(--bg-primary);
}

.btn-close-open.opened {background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cG9seWxpbmUgcG9pbnRzPSI0LDEwIDgsNiAxMiwxMCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDBDRkU4IiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4=)
    calc(100% - 10px) center no-repeat transparent; padding-right: 32px;}

.btn-close-open.opened:hover {
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cG9seWxpbmUgcG9pbnRzPSI0LDEwIDgsNiAxMiwxMCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4=);
    background-color: var(--accent-primary);
    color: var(--bg-primary);
}


.pressed {animation: rotation 2s infinite;}

@keyframes rotation {
  0% {
    transform: rotateX(0deg)
  }
  100% {
    transform: rotateX(360deg)
  }
}



/* Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}
#hero-video-background { /* VIDEO PLAYS BEHIND ALL HERO CONTENT INCLUDING TEXT */
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2; /* Behind overlay and hero-content */
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover; /* Ensures video covers the area */
}
#hero::before { /* Overlay for text readability over video */
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(3, 6, 23, 0.6) 0%, rgba(3, 6, 23, 0.9) 70%, var(--bg-primary) 100%);
    z-index: -1; /* Between video and hero-content */
}

.hero-content { /* TEXT AND BUTTONS ARE WITHIN THIS DIV */
    position: relative;
    z-index: 1; /* Ensures this is on top of video and overlay */
    max-width: 900px;
    padding: 20px;
}

.hero-main-title {
    font-family: var(--font-main-heading);
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.hero-main-title .line-1 {
    display: block;
    font-size: 5rem;
    color: var(--text-primary);
    text-shadow: 0 0 15px rgba(var(--accent-primary-rgb),0.6), 0 0 30px rgba(var(--accent-primary-rgb),0.3);
     -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translateZ(0);
    animation: glow-flicker-filter 2s ease-in-out infinite alternate;
}
@keyframes glow-flicker-filter {
    0% {
        filter: drop-shadow(0 0 10px rgba(0, 207, 232, 0.3));
        opacity: 1; /* Keep opacity for flickering effect if needed */
    }
    60% {
        filter: drop-shadow(0 0 20px rgba(0, 207, 232, 1)) drop-shadow(0 0 30px rgba(0, 207, 232, 1)) drop-shadow(0 0 60px rgba(0, 207, 232, 0.8));
        opacity: 1;
    }
    100% {
        filter: drop-shadow(0 0 10px rgba(0, 207, 232, 0.3));
        opacity: 1;
    }
}

.hero-main-title .line-2 {
    display: block;
    font-size: 2.8rem;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary), var(--accent-tertiary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    animation: gradientText 5s infinite linear;
    background-size: 200% 200%;
}

@keyframes flicker {
    0%, 18%, 22%, 25%, 53%, 57%, 100% {
        text-shadow:
            0 0 7px #fff,
            0 0 10px #fff,
            0 0 21px #fff,
            0 0 42px var(--accent-primary),
            0 0 82px var(--accent-primary),
            0 0 92px var(--accent-primary),
            0 0 102px var(--accent-primary),
            0 0 151px var(--accent-primary);
        opacity: 1;
    }
    20%, 24%, 55% {
        text-shadow: none;
        opacity: 0.8;
    }
}

@keyframes gradientText {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-content p.subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-prompt-action-area {
    display: flex;
    max-width: 700px;
    margin: 0 auto;
    background: rgba(17, 25, 40, 0.7);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 8px;
    backdrop-filter: blur(8px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.hero-prompt-action-area input[type="text"] {
    flex-grow: 1;
    padding: 15px 25px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
    -webkit-background-clip: text;
    -webkit-text-fill-color: var(--text-secondary);
}
.hero-prompt-action-area input[type="text"]::placeholder {
    color: var(--text-secondary);
    opacity: 0.8;
}

.hero-generate-button {
	padding: 18px 45px;
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    color: var(--text-primary);
    border: none;
    border-radius: 40px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 3px 15px rgba(var(--accent-secondary-rgb), 0.3);
    white-space: nowrap;
    display: inline-block;
    margin: 0 auto;
}

.hero-generate-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 25px rgba(var(--accent-secondary-rgb), 0.5), 0 0 15px rgba(var(--accent-primary-rgb), 0.3);
}
.hero-generate-button svg {
    width: 18px;
    height: 18px;
    margin-left: 8px;
    vertical-align: middle;
}

/* Monetize Your Vision Section (New) */
#monetize-vision {
    background-color: var(--bg-secondary);
}
.monetize-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}
.monetize-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
}
.monetize-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 25px rgba(var(--accent-primary-rgb),0.25);
    background-color: var(--bg-card-hover);
}
.monetize-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    fill: var(--accent-primary);
    align-self: flex-start;
}
.monetize-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: var(--accent-primary);
}
.monetize-card .description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 15px;
    flex-grow: 1;
}
.monetize-card .monetization-hook {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 1rem;
}
.monetize-card .monetization-details {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.6;
}
.monetize-cta {
    padding: 12px 25px;
    font-size: 0.95rem;
    font-weight: 600;
    background: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
    border-radius: 25px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: auto;
}
.monetize-cta:hover {
    background-color: var(--accent-primary);
    color: var(--bg-primary);
    box-shadow: var(--shadow-light);
}

/* Models Section */
#models .section-title {
    /* Custom styles for model title if different from global */
}
.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.model-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(5px);
}
.model-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25), var(--shadow-light);
}
.model-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.model-card:hover img {
    transform: scale(1.05);
}
.model-info {
    padding: 25px;
}
.model-info h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: var(--accent-primary);
}
.model-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 15px;
}
.model-tags span {
    background: rgba(var(--accent-secondary-rgb), 0.2);
    color: var(--accent-secondary);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-right: 8px;
}

/* Showcase Section */
#showcase {
    background-color: var(--bg-primary);
}
.showcase-filters {
	display: flex;
	flex-wrap:wrap;
	gap:10px;
    text-align: center;
    margin-bottom: 40px;
    justify-content: center;
}
.showcase-filters button {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}
.showcase-filters button.active,
.showcase-filters button:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-light);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}
.showcase-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16/10;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.showcase-item:hover img {
    transform: scale(1.15);
}
.showcase-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.9) 80%);
    color: white;
    padding: 25px 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.showcase-item:hover .showcase-item-overlay {
    opacity: 1;
    transform: translateY(0);
}
.showcase-item-overlay h4 {
    margin-bottom: 8px;
    font-size: 1.3rem;
    font-family: var(--font-heading);
}
.showcase-item-overlay p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    width: 80px;
    height: 80px;
    background: rgba(var(--accent-primary-rgb), 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(4px);
}
.play-icon svg {
    fill: var(--text-primary);
    width: 35px;
    height: 35px;
}
.showcase-item:hover .play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.showcase-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Templates & Effects Section */
#templates, #effects { padding-bottom: 30px; }
#effects { padding-top: 30px; background-color: var(--bg-secondary); }

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.content-card {
    background: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(5px);
}
.content-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25), var(--shadow-light);
}
.content-card-preview {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.content-card-preview::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.2) 100%);
}
.content-card-info { padding: 20px; }
.content-card-info h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}
.content-card-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* How It Works Section */
#how-it-works { background-color: var(--bg-primary); }
.steps-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}
.step-card {
    /*flex-basis: calc(25% - 30px);*/
    width: calc(25% - 30px);
    min-width: 250px;
    text-align: center;
    padding: 20px;
}
.step-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--accent-primary);
    margin-bottom: 10px;
    line-height: 1;
    text-shadow: 0 0 15px rgba(var(--accent-primary-rgb),0.6);
}
.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-weight: 600;
}
.step-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}
/*
@media (min-width: 769px) {
    .steps-container .step-card:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 2rem;
        right: -15%;
        width: 30%;
        height: 3px;
        background: linear-gradient(90deg, rgba(var(--accent-primary-rgb),0.5), rgba(var(--accent-secondary-rgb),0.5));
        opacity: 0.7;
    }
}*/

/* --- Pricing Section (MODIFIED) --- */
#pricing { background-color: var(--bg-secondary); }
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Adjusted minmax for 3 cards */
    gap:80px 30px;
    align-items: stretch;
}
.pricing-card {
    background: var(--bg-card) !important;
    padding: 30px; /* Adjusted padding */
    border-radius: 15px;
    border: 1px solid var(--border-color);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(5px);
    position: relative;
}
.pricing-card:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.35), var(--shadow-strong);
}
.pricing-card.popular {
    border: 2px solid var(--accent-primary);
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 0 30px rgba(var(--accent-primary-rgb),0.4), 0 10px 30px rgba(0,0,0,0.3);
}
.pricing-card.popular:hover { transform: scale(1.08) translateY(-12px); }
.popular-badge {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    color: var(--text-primary);
    padding: 7px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(var(--accent-secondary-rgb),0.4);
}
.pricing-card h3 { /* Plan Name */
    font-family: var(--font-heading);
    font-size: 1.8rem; /* Adjusted */
    margin-bottom: 15px; /* Adjusted */
    color: var(--text-primary);
}

.price-options {
    margin-bottom: 20px;
}
.price-weekly, .price-monthly {
    font-family: var(--font-heading);
    color: var(--accent-primary);
}
.price-weekly>b {
    font-size: 1.1rem; /* Main price display */
    font-weight: 500;
}
.price-weekly span.period {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
    font-family: var(--font-body);
}
.price-separator {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 8px 0;
    display: block;
}
.price-monthly {
    font-size: 1.3rem; /* Smaller for monthly option */
    font-weight: 500;
    display: block;
}
.price-monthly .amount {
    font-weight: 700;
}
.price-monthly .billing-cycle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: block;
    margin-top: -5px;
    font-family: var(--font-body);
}
.price-monthly .save-badge {
    background-color: var(--accent-tertiary);
    color: var(--text-primary);
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: 600;
    margin-left: 5px;
    display: inline-block; /* To sit next to price */
}

.credit-info {
    font-size: 1rem; /* Made it slightly larger for credits */
    color: var(--text-primary); /* More prominent */
    font-weight: 500;
    margin-bottom: 20px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
}
.credit-info .daily-credits {
    display: block;
    font-size: 0.9em;
    color: var(--text-secondary);
}

.pricing-card ul {
    list-style: none;
    margin: 25px 0;
    text-align: left;
    flex-grow: 1;
}
.pricing-card ul li {
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}
.pricing-card ul li svg {
    fill: var(--accent-primary);
    width: 20px;
    height: 20px;
    margin-right: 12px;
    flex-shrink: 0;
}
.pricing-card ul li img {
    margin-left: 12px;
}
.pricing-cta {
    padding: 15px 35px;
    font-size: 1.05rem;
    font-weight: 600;
    background-color: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
    border-radius:50px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    margin-top: 20px;
}
.pricing-cta:hover {
    background-color: var(--accent-primary);
    color: var(--bg-primary);
    box-shadow: var(--shadow-light);
}
.pricing-card.popular .pricing-cta {
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    color: var(--text-primary);
    border: none;
}
.pricing-card.popular .pricing-cta:hover { box-shadow: var(--shadow-strong); }

.pricing-cta.Current{ background-color: var(--accent-primary);color: var(--bg-primary);cursor: default;}
/* --- End of Pricing Section Modifications --- */

/* Final CTA Section */
#final-cta {
    text-align: center;
    background: linear-gradient(rgba(var(--accent-secondary-rgb),0.2), rgba(var(--accent-primary-rgb),0.2)), var(--bg-secondary);
    padding: 100px 20px;
    display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 50px;
}
#final-cta h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    margin-bottom: 25px;
    color: var(--text-primary);
}
#final-cta p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}
#final-cta .Iframe {
	width:100%;
	max-width:990px;
}	
#final-cta .Iframe>.in{
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
#final-cta iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Popup */
.Popup{
	position:absolute;
	z-index:1000;
}
.Popup>.in {
  position: relative;
  background: var(--bg-control);
  color: var(--text-primary);
  padding:16px;
  border-radius: var(--control-border-radius);
  font-size: var(--control-font-size);
  transition: all 0.3s ease;
  text-align: left;
  border-color: var(--border-focus);
  box-shadow: var(--glow-focus); 
}

.Popup>.in>.Close {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(0,0,0,0.3);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 1.4em;
  line-height: 30px;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
  z-index: 10;
}

.Popup .Buttons{display: flex;justify-content: flex-end;}
.Popup .Buttons>span{display: inline-block;font-size: 16px;padding: 2px 36px;border-radius: 18px;border:2px solid var(--accent-primary);transition-duration: 0.8s;cursor: pointer;margin-top:20px;}
.Popup .Buttons > span:hover{background-color: var(--accent-primary);color: var(--bg-primary);box-shadow: var(--shadow-light);}
.Popup .Buttons > span + span {margin-left: 10px;}

#ConfirmPopup .Text{font-size:1.1em;}

.auth-modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px; /* Placed inside the overall modal or just the right panel */
    background-color: rgba(0,0,0,0.3);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 30px; height: 30px;
    font-size: 1em; line-height: 30px; text-align: center;
    cursor: pointer; transition: background-color 0.2s ease;
    z-index: 10; /* On top of promo image if positioned there */
}
.auth-modal-close-btn:hover { background-color: rgba(0,0,0,0.5); }

.Popup>.in>.in>.Text{
	margin: 20px 10px 10px;
}
/* End of Popup */

/* Overlay */
.Overlay {
  z-index: 1010;
  width: 10000px;
  height: 10000px;
  position: fixed;
  top: 0;
  left: 0;
  background: black;
  opacity: 0.5;
  display: none;
}
/* End of Overlay */

/* Loader */
.Loader {
  display:none;
  position: fixed;
  z-index:1500;
  right: 20px;
  top: 50%;
  margin-top:-43px;
  width: 80px;
  height: 50px;
  --g1:conic-gradient(from  90deg at left   3px top   3px,#0000 90deg,var(--accent-secondary) 0);
  --g2:conic-gradient(from -90deg at bottom 3px right 3px,#0000 90deg,var(--accent-secondary) 0);
  background:var(--g1),var(--g1),var(--g1), var(--g2),var(--g2),var(--g2);
  background-position: left,center,right;
  background-repeat: no-repeat;
  animation: l9 1s infinite;
}
@keyframes l9 {
  0%   {background-size:20px 50% ,20px 50% ,20px 50%}
  25%  {background-size:20px 100%,20px 50% ,20px 50%}
  50%  {background-size:20px 50% ,20px 100%,20px 50%}
  75%  {background-size:20px 50% ,20px 50% ,20px 100%}
  100% {background-size:20px 50% ,20px 50% ,20px 50%}
}
/* End of Loader */

.featured-video{display:none;position:fixed;top:70px;left:0;z-index:5000;background: rgba(0,0,0,0.92);right: 0;bottom: 0;overflow-y: auto;}
.featured-video .title{font-size: 2.8em;font-weight: bold;color: #ffffff;text-align: center;margin-bottom: 15px;padding:30px 20px;}
.featured-video .in{text-align:center;}
.featured-video .Video{position:relative;}
.featured-video video{max-width: 100%;height: auto;max-height: 400px;border-radius: 12px;box-shadow: 0 4px 15px rgba(0,0,0,0.3);object-fit: contain;}
.featured-video .close-video-preview{position: absolute;top:5px;left:0;background-color: rgba(180,180,180,0.3);color: #000;border: none;border-radius: 50%;width: 30px;height: 30px;font-size: 18px;line-height: 30px;text-align: center;cursor: pointer;transition: background-color 0.2s ease;z-index: 10;font-weight:700;}
.featured-video .close-video-preview:hover{background-color: rgba(180,180,180,0.5);}

.hidden{display:none;}
main.disabled{filter: blur(4px);}

.mobile{display:none;}

/* Responsive Adjustments */
@media (max-width: 1120px) {
    .section-title { font-size: 2.6rem; }
    .hero-main-title { font-size: 3rem; }
    .hero-main-title .line-1 { font-size: 4rem; }
    .hero-main-title .line-2 { font-size: 2.2rem; }
    .hero-content p.subtitle { font-size: 1.15rem; }
    .user-info{width: auto;}
    nav ul { display: none; }
    .auth-buttons { margin-left: 40px; }
    .monetize-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
    .pricing-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));} /* Ensure responsiveness for pricing */
}
@media (max-width: 768px) {
    .container { padding:70px 15px 30px; }
    .section-title { font-size: 2.2rem; }
    .section-subtitle { font-size: 1rem; margin-bottom: 40px;}
    .hero-main-title { font-size: 2.2rem; letter-spacing: 1px; }
    .hero-main-title .line-1 { font-size: 3rem; }
    .hero-main-title .line-2 { font-size: 1.8rem; }
    .hero-prompt-action-area { flex-direction: column; border-radius: 15px; padding: 15px; }
    .hero-prompt-action-area input[type="text"] { margin-bottom: 15px; text-align: center; padding: 15px;}
    .hero-generate-button { width: 100%; }
    .monetize-grid, .models-grid, .showcase-grid, .content-grid, .pricing-grid {
        grid-template-columns: 1fr;
    }
    .steps-container .step-card { width: 100%; }
    .steps-container .step-card:not(:last-child)::after { display: none; }
    .pricing-card.popular { transform: scale(1) translateY(0); }
    .price-weekly {font-size: 2.2rem;}
    .price-monthly {font-size: 1.2rem;}
}

@media (max-width: 540px) {
    .hero-main-title { font-size: 1.8rem; }
    .hero-main-title .line-1 { font-size: 2.5rem; }
    .hero-main-title .line-2 { font-size: 1.4rem; }
    .hero-content p.subtitle { font-size: 1rem; }
    .auth-buttons button { padding: 8px 18px; font-size: 0.85rem; }
    .logo { font-size: 1.6rem; }
    .user-info{display: none;}
    .head-menu.index{display:block;}
    #final-cta h2 { font-size: 2.2rem; }
    #final-cta p { font-size: 1.1rem; }
    .hero-generate-button{white-space: normal;border-radius: 80px;padding: 12px 35px;font-size:1rem}
    .discount.save-badge{font-size: 0.9rem;}
}

.feature-superb p{font-weight:700;color:#ffc439}