/* --- CSS Variables --- */
:root {
    --bg-color: #050505;
    --bg-secondary: #111111;
    --text-main: #ffffff;
    --text-secondary: #a0a0a0;
    --gemini-blue: #4b90ff;
    --gemini-blue-dark: #2563eb;
    --gemini-blue-light: #60a5fa;
    --gemini-cyan: #06b6d4;
    --gradient-primary: linear-gradient(135deg, #1e3a8a, #2563eb, #4b90ff, #60a5fa, #06b6d4);
    --gradient-hover: linear-gradient(135deg, #06b6d4, #60a5fa, #4b90ff, #2563eb, #1e3a8a);
    --nav-height: 70px;
}

/* --- Reset & Base --- */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }

/* --- Typography --- */
h1, h2, h3 { font-weight: 700; margin-bottom: 1rem; }
h1 { font-size: 1.5rem; } /* For logo text */

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-size: 2.5rem;
}
.gradient-text.text-center {
    display: block;
    text-align: center;
}
.lead-text { font-size: 1.2rem; color: var(--text-secondary); max-width: 800px; margin: 0 auto; }
.desc-text { color: #888; margin-bottom: 30px; }

/* --- Header --- */
.site-header {
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    height: var(--nav-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* --- Disclaimer Banner --- */
.disclaimer-banner {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(30, 58, 138, 0.2);
    border-bottom: 1px solid rgba(75, 144, 255, 0.3);
    padding: 10px 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    z-index: 999;
}
.disclaimer-banner p {
    margin: 0;
    line-height: 1.4;
}
.header-flex { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.logo { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    font-weight: 700; 
    line-height: 1;
}
.logo a {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
    vertical-align: middle;
}
.logo a:hover {
    opacity: 0.8;
}
.logo img { 
    width: 36px; 
    height: 36px; 
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    vertical-align: middle;
}
.logo h1 {
    margin: 0;
    font-size: 1.4rem;
    line-height: 1.2;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
}

/* Navigation */
.main-nav ul { display: flex; gap: 30px; }
.main-nav a { font-size: 0.95rem; font-weight: 500; color: var(--text-secondary); }
.main-nav a:hover { color: var(--text-main); text-shadow: 0 0 10px rgba(75, 144, 255, 0.5); }
.has-submenu { position: relative; }
.submenu {
    position: absolute;
    top: 100%; left: 0;
    background: var(--bg-secondary);
    min-width: 200px;
    display: none !important;
    flex-direction: column;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 10px 0;
}
.has-submenu:hover .submenu { display: flex !important; }
.submenu li a { display: block; padding: 10px 20px; }
.submenu li a:hover { background: rgba(255,255,255,0.05); }

/* Header Right */
.header-right { display: flex; align-items: center; gap: 15px; }
select#language-selector { background: #222; color: #fff; border: 1px solid #444; padding: 5px 10px; border-radius: 4px; cursor: pointer; }
.lang-switch { display: none !important; } /* Temporarily hidden */

/* --- Hero Section --- */
.hero-section {
    position: relative;
    width: 100%;
    height: calc(100vh - var(--nav-height) - 40px); 
    min-height: 500px;
    margin-top: 40px;
    background: #000;
    overflow: hidden;
}
.video-container { width: 100%; height: 100%; position: relative; }
#hero-video { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
.video-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(5,5,5,1) 0%, rgba(5,5,5,0) 30%);
    pointer-events: none;
}
.hero-cta-wrapper {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}
.btn-gemini-rainbow {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #1e3a8a, #2563eb, #4b90ff, #60a5fa, #06b6d4, #4b90ff);
    background-size: 200% 200%;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(75, 144, 255, 0.4);
    transition: all 0.3s ease;
    animation: gradient-shift 3s ease infinite;
    text-decoration: none;
}
.btn-gemini-rainbow:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 85, 70, 0.5);
    animation-duration: 1.5s;
}
@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --- Sections Common --- */
.section { padding: 80px 0; }
.btn-secondary {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid var(--gemini-blue);
    color: var(--gemini-blue);
    border-radius: 30px;
    margin-top: 20px;
}
.btn-secondary:hover { background: var(--gemini-blue); color: white; }

/* --- How To --- */
.flex-layout { display: flex; align-items: center; gap: 50px; }
.text-content, .video-embed { flex: 1; }
.steps { margin-top: 30px; }
.step-item { display: flex; gap: 20px; margin-bottom: 20px; }
.step-num {
    font-size: 1.5rem; font-weight: 800; color: transparent;
    -webkit-text-stroke: 1px var(--gemini-blue);
}
.video-wrapper {
    position: relative; padding-bottom: 56.25%; height: 0;
    overflow: hidden; border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); border: 1px solid #333;
}
.video-wrapper iframe,
.video-wrapper video {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    object-fit: contain;
}
.video-wrapper video {
    background: #000;
}

/* --- Testimonials (Masonry/Waterfall) --- */
.twitter-grid {
    column-count: 4;
    column-gap: 20px;
    margin-top: 40px;
}
.twitter-tweet { 
    display: inline-block;
    width: 100% !important; 
    margin: 0 0 20px 0 !important; 
    break-inside: avoid;
    page-break-inside: avoid;
    -webkit-column-break-inside: avoid;
}

/* --- Use Case Table --- */
.tabs {
    display: flex; justify-content: center; gap: 20px;
    margin-bottom: 30px; margin-top: 30px; flex-wrap: wrap;
}
.tab-btn {
    background: transparent; border: 1px solid #333; color: #fff;
    padding: 10px 30px; cursor: pointer; border-radius: 20px; transition: 0.3s;
}
.tab-btn.active, .tab-btn:hover {
    background: var(--gemini-blue); border-color: var(--gemini-blue);
}

/* Default hidden, show when active */
.use-case-table {
    display: none; 
    background: var(--bg-secondary);
    border-radius: 12px; padding: 20px; border: 1px solid #222;
}
.use-case-table.active { display: block; animation: fadeIn 0.5s; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.case-row {
    display: grid; 
    grid-template-columns: 2fr 3fr 1.5fr 1fr;
    gap: 15px;
    align-items: center;
    padding: 15px 10px; 
    border-bottom: 1px solid #222;
}
.case-row:last-child { border-bottom: none; }
.case-title { 
    font-weight: 600; 
    color: #fff; 
    display: flex;
    align-items: center;
    gap: 8px;
}
.case-desc { color: #888; font-size: 0.9rem; }
.case-example { 
    text-align: center;
}
.case-example img {
    width: 100%;
    max-width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    background: #222;
    border: 1px solid #333;
}
.case-action { text-align: center; }

.btn-xs {
    padding: 5px 15px; font-size: 0.8rem;
    background: linear-gradient(90deg, #333, #444);
    color: white; border-radius: 15px; border: 1px solid #555;
}
.btn-xs:hover { background: var(--gradient-primary); border-color: transparent; }

/* --- FAQ --- */
.narrow { max-width: 800px; }
.faq-list { margin-top: 40px; }
.faq-item { border-bottom: 1px solid #333; margin-bottom: 10px; }
.faq-question {
    padding: 20px 0; font-size: 1.2rem; font-weight: 600;
    cursor: pointer; display: flex; justify-content: space-between; color: white;
}
.faq-answer {
    display: none; padding-bottom: 20px; color: var(--text-secondary);
}
.icon { font-weight: 300; transition: 0.3s; }
.faq-item.active .icon { transform: rotate(45deg); }

/* --- Footer --- */
.site-footer {
    background: #000; border-top: 1px solid #222;
    padding: 60px 0 20px; margin-top: 50px;
}
.footer-content {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px; margin-bottom: 40px;
}
.footer-col h4 { color: #fff; margin-bottom: 20px; }
.footer-col a { display: block; color: #666; margin-bottom: 10px; }
.footer-col a:hover { color: var(--gemini-blue); }

/* --- Mobile --- */
@media (max-width: 1200px) {
    .twitter-grid {
        column-count: 3;
    }
}

@media (max-width: 992px) {
    .twitter-grid {
        column-count: 2;
    }
    .case-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .case-example, .case-action {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .header-flex { 
        position: relative; 
        flex-wrap: wrap;
    }
    .logo {
        flex: 1;
        min-width: 0;
    }
    .logo h1 {
        font-size: 1.1rem;
    }
    .logo img {
        width: 28px;
        height: 28px;
    }
    .mobile-menu-btn { 
        display: block; 
        width: 30px; 
        height: 20px; 
        position: relative; 
        cursor: pointer; 
        flex-shrink: 0;
    }
    .mobile-menu-btn span { 
        display: block; 
        width: 100%; 
        height: 2px; 
        background: #fff; 
        margin-bottom: 6px; 
    }
    
    .main-nav {
        display: none; 
        position: absolute; 
        top: 100%; 
        left: 0; 
        width: 100%;
        background: #0a0a0a; 
        padding: 20px; 
        border-bottom: 1px solid #333;
        z-index: 999;
    }
    .main-nav ul { 
        flex-direction: column; 
        gap: 15px; 
    }
    .main-nav.active {
        display: block;
    }
    
    .disclaimer-banner {
        padding: 8px 0;
        font-size: 0.75rem;
    }
    
    .hero-section { 
        height: auto; 
        min-height: 400px; 
    }
    .hero-cta-wrapper {
        bottom: 20px;
    }
    .flex-layout { 
        flex-direction: column; 
        gap: 30px;
    }
    .case-row { 
        grid-template-columns: 1fr;
        align-items: flex-start; 
        gap: 10px; 
    }
    .case-action { 
        width: 100%; 
        text-align: left; 
    }
    .twitter-grid {
        column-count: 1;
    }
    .gradient-text {
        font-size: 2rem;
    }
    .section {
        padding: 50px 0;
    }
    .tabs {
        gap: 10px;
    }
    .tab-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 0.95rem;
    }
    .logo img {
        width: 24px;
        height: 24px;
    }
    .gradient-text {
        font-size: 1.5rem;
    }
    .btn-gemini-rainbow {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

@media (min-width: 769px) { 
    .mobile-menu-btn { display: none; } 
}

/* ========================================
   GENERATOR PAGES STYLES
   ======================================== */

/* Generator Pages Hero Section Override */
.image-generator .hero-section,
.video-generator .hero-section,
.chat .hero-section {
    height: auto !important;
    min-height: auto !important;
    padding: 60px 0 40px !important;
}

/* Generator Wrapper */
.generator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
    align-items: start;
}

.generator-left {
    display: flex;
    flex-direction: column;
}

.generator-left h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.section-desc {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.generator-right {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Generator Form */
.generator-form {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--text-main);
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gemini-blue);
    box-shadow: 0 0 10px rgba(75, 144, 255, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group small {
    display: block;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 5px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Upload Button */
.upload-label {
    display: block;
    cursor: pointer;
}

.upload-btn {
    display: inline-block;
    padding: 12px 20px;
    background: rgba(75, 144, 255, 0.1);
    border: 1px dashed var(--gemini-blue);
    border-radius: 8px;
    color: var(--gemini-blue);
    text-align: center;
    transition: all 0.3s;
}

.upload-btn:hover {
    background: rgba(75, 144, 255, 0.2);
    border-color: var(--gemini-blue-light);
}

.upload-preview {
    margin-top: 15px;
    padding: 15px;
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
}

/* Preview Area */
.preview-area {
    background: var(--bg-secondary);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    width: 100%;
}

.preview-placeholder {
    text-align: center;
    color: var(--text-secondary);
    padding: 40px;
}

.preview-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.preview-placeholder p {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.preview-placeholder small {
    color: var(--text-secondary);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--gemini-blue);
    box-shadow: 0 10px 30px rgba(75, 144, 255, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Use Cases Grid */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.use-case-item {
    background: var(--bg-secondary);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s;
}

.use-case-item:hover {
    border-color: var(--gemini-blue);
    transform: translateY(-3px);
}

.use-case-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.use-case-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Chat Interface */
.chat-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.chat-container {
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 700px;
}

.chat-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0,0,0,0.3);
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.chat-avatar {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(75, 144, 255, 0.2);
    border-radius: 50%;
}

.chat-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.chat-status {
    color: var(--gemini-cyan);
    font-size: 0.85rem;
}

.btn-new-chat {
    padding: 8px 16px;
    background: rgba(75, 144, 255, 0.1);
    border: 1px solid var(--gemini-blue);
    border-radius: 6px;
    color: var(--gemini-blue);
    cursor: pointer;
    transition: all 0.3s;
}

.btn-new-chat:hover {
    background: var(--gemini-blue);
    color: white;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.message {
    display: flex;
    gap: 15px;
    max-width: 80%;
}

.bot-message {
    align-self: flex-start;
}

.user-message {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.bot-message .message-avatar {
    background: rgba(75, 144, 255, 0.2);
}

.user-message .message-avatar {
    background: rgba(6, 182, 212, 0.2);
}

.message-content {
    background: rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 12px;
    line-height: 1.6;
}

.message-content ul {
    margin: 10px 0;
    padding-left: 20px;
}

.message-content li {
    margin: 5px 0;
}

.chat-input-area {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px;
    background: rgba(0,0,0,0.3);
}

.chat-input-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 10px;
}

.chat-input-wrapper textarea {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    resize: none;
    outline: none;
    max-height: 150px;
}

.btn-attach,
.btn-image,
.btn-send {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-attach:hover,
.btn-image:hover {
    background: rgba(255,255,255,0.1);
    color: var(--text-main);
}

.btn-send {
    background: var(--gemini-blue);
    color: white;
}

.btn-send:hover {
    background: var(--gemini-blue-light);
}

.chat-suggestions {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.suggestion-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.suggestion-chip {
    padding: 6px 12px;
    background: rgba(75, 144, 255, 0.1);
    border: 1px solid rgba(75, 144, 255, 0.3);
    border-radius: 20px;
    color: var(--gemini-blue);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
}

.suggestion-chip:hover {
    background: rgba(75, 144, 255, 0.2);
    border-color: var(--gemini-blue);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 600px;
    margin: 40px auto;
}

.stat-card {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(75, 144, 255, 0.2);
    text-align: center;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--gemini-blue);
    box-shadow: 0 10px 30px rgba(75, 144, 255, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
}

.intro-content {
    text-align: center;
}

/* Use Cases CTA Section */
.use-cases-cta {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(75, 144, 255, 0.05));
    border-top: 1px solid rgba(75, 144, 255, 0.2);
    border-bottom: 1px solid rgba(75, 144, 255, 0.2);
}

/* Responsive Styles for Generator Pages */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
    .generator-wrapper {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .chat-container {
        height: 600px;
    }
    
    .message {
        max-width: 90%;
    }
    
    .generator-form {
        padding: 20px;
    }
}

/* ========================================
   PROMPT PAGE STYLES
   ======================================== */

/* Hero Section */
.prompt-hero {
    padding: 60px 0 40px;
    background: linear-gradient(180deg, var(--bg-color) 0%, var(--bg-secondary) 100%);
}

/* Guidelines Card */
.prompt-guidelines {
    padding: 40px 0;
}
.guidelines-card {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(75, 144, 255, 0.2);
}
.guidelines-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
.guideline-item {
    padding: 20px;
    background: rgba(75, 144, 255, 0.05);
    border-radius: 12px;
    border-left: 3px solid var(--gemini-blue);
}
.guideline-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}
.guideline-item h3 {
    color: var(--text-main);
    margin-bottom: 10px;
    font-size: 1.2rem;
}
.guideline-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Filter Tabs */
.prompt-filters {
    padding: 20px 0;
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}
.filter-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-secondary);
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
    font-weight: 500;
}
.filter-btn:hover {
    border-color: var(--gemini-blue);
    color: var(--text-main);
}
.filter-btn.active {
    background: var(--gemini-blue);
    border-color: var(--gemini-blue);
    color: white;
}

/* Prompt Cards Grid - Masonry Layout */
.prompt-cards-section {
    padding: 40px 0;
}
.prompt-cards-grid {
    column-count: 4;
    column-gap: 20px;
    margin-top: 30px;
}
.prompt-card {
    display: inline-block;
    width: 100%;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 20px;
    break-inside: avoid;
    page-break-inside: avoid;
    -webkit-column-break-inside: avoid;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}
.prompt-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(75, 144, 255, 0.2);
    border-color: var(--gemini-blue);
}
.prompt-card-header {
    padding: 15px 20px;
    background: rgba(75, 144, 255, 0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.prompt-category {
    font-size: 0.85rem;
    color: var(--gemini-blue-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.prompt-card-body {
    padding: 20px;
}
.prompt-card-body h3 {
    color: var(--text-main);
    font-size: 1.3rem;
    margin-bottom: 10px;
}
.prompt-scenario {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.5;
}
.prompt-content {
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
    padding: 15px;
    border-left: 3px solid var(--gemini-cyan);
    margin-bottom: 15px;
}
.prompt-content p {
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    font-family: 'Courier New', monospace;
}
.prompt-card-footer {
    padding: 15px 20px;
    background: rgba(0,0,0,0.2);
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    gap: 10px;
}
.btn-copy {
    flex: 1;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-main);
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
    font-weight: 500;
}
.btn-copy:hover {
    background: var(--gemini-blue);
    border-color: var(--gemini-blue);
    color: white;
}
.btn-copy.copied {
    background: var(--gemini-cyan);
    border-color: var(--gemini-cyan);
    color: white;
}
.btn-try {
    flex: 1;
    background: var(--gradient-primary);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
}
.btn-try:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(75, 144, 255, 0.4);
}

/* Hidden cards for filtering */
.prompt-card.hidden {
    display: none;
}

/* CTA Section */
.prompt-cta {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.2), rgba(75, 144, 255, 0.1));
    border-top: 1px solid rgba(75, 144, 255, 0.3);
    border-bottom: 1px solid rgba(75, 144, 255, 0.3);
}

/* Responsive Styles for Prompt Page */
@media (max-width: 1200px) {
    .prompt-cards-grid {
        column-count: 3;
    }
    .guidelines-content {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 992px) {
    .prompt-cards-grid {
        column-count: 2;
    }
    .guidelines-card {
        padding: 30px 20px;
    }
    .guidelines-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .prompt-hero {
        padding: 40px 0 30px;
    }
    .prompt-cards-grid {
        column-count: 1;
    }
    .filter-tabs {
        gap: 10px;
    }
    .filter-btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
    .guidelines-card {
        padding: 25px 15px;
    }
    .prompt-card-body h3 {
        font-size: 1.1rem;
    }
    .prompt-content p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .filter-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    .prompt-card-footer {
        flex-direction: column;
    }
    .btn-copy, .btn-try {
        width: 100%;
    }
}

/* ========================================
   COMPARE PAGE STYLES
   ======================================== */

/* Hero Image Section */
.compare-hero {
    padding: 60px 0 40px;
    background: linear-gradient(180deg, var(--bg-color) 0%, var(--bg-secondary) 100%);
}
.hero-image-wrapper {
    text-align: center;
    margin-top: 40px;
    width: 100%;
    overflow: hidden;
}
.hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(75, 144, 255, 0.2);
    object-fit: contain;
}
.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 20px auto 0;
}

/* Summary Cards */
.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.summary-card {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(75, 144, 255, 0.2);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}
.summary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(75, 144, 255, 0.3);
}
.card-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}
.summary-card h3 {
    color: var(--text-main);
    margin-bottom: 10px;
    font-size: 1.3rem;
}
.summary-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Direct Comparison Cards */
.direct-comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 40px;
}
.direct-compare-card {
    background: var(--bg-secondary);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(75, 144, 255, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}
.direct-compare-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(75, 144, 255, 0.2);
    border-color: var(--gemini-blue);
}
.direct-compare-card h3 {
    color: var(--text-main);
    font-size: 1.4rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(75, 144, 255, 0.3);
}
.comp-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.comp-pros, .comp-cons {
    padding: 15px;
    border-radius: 8px;
}
.comp-pros {
    background: rgba(6, 182, 212, 0.1);
    border-left: 3px solid var(--gemini-cyan);
}
.comp-cons {
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid rgba(255,255,255,0.3);
}
.comp-pros strong, .comp-cons strong {
    display: block;
    margin-bottom: 10px;
    color: var(--text-main);
    font-size: 0.95rem;
}
.comp-pros ul, .comp-cons ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.comp-pros li, .comp-cons li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}
.comp-verdict {
    padding: 15px;
    background: rgba(75, 144, 255, 0.1);
    border-radius: 8px;
    border-left: 4px solid var(--gemini-blue);
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}
.comp-verdict strong {
    color: var(--gemini-blue-light);
}

/* Comparison Table */
.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 40px;
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1200px;
}
.comparison-table.detailed-table {
    min-width: 900px;
}
.comparison-table thead {
    background: rgba(75, 144, 255, 0.1);
}
.comparison-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: var(--text-main);
    border-bottom: 2px solid rgba(75, 144, 255, 0.3);
}
.comparison-table th.gemini-highlight {
    background: rgba(75, 144, 255, 0.2);
    color: var(--gemini-blue-light);
}
.comparison-table td {
    padding: 20px 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--text-secondary);
    vertical-align: top;
}
.comparison-table td.gemini-highlight {
    background: rgba(75, 144, 255, 0.05);
}
.comparison-table tr:hover td {
    background: rgba(255,255,255,0.02);
}
.feature-icon {
    font-size: 1.2rem;
    margin-right: 8px;
}
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 5px;
}
.badge.excellent {
    background: rgba(6, 182, 212, 0.2);
    color: #06b6d4;
}
.badge.good {
    background: rgba(75, 144, 255, 0.2);
    color: #60a5fa;
}
.badge.fair {
    background: rgba(255, 255, 255, 0.1);
    color: #a0a0a0;
}
.badge.poor {
    background: rgba(255, 85, 70, 0.2);
    color: #ff5546;
}
.comparison-table small {
    display: block;
    color: #888;
    font-size: 0.8rem;
    margin-top: 5px;
    line-height: 1.4;
}

/* Pricing Cards */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.pricing-card {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 30px;
    border: 2px solid rgba(255,255,255,0.1);
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}
.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(75, 144, 255, 0.2);
}
.pricing-card.gemini-card {
    border-color: var(--gemini-blue);
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(75, 144, 255, 0.05));
}
.pricing-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--gradient-primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.pricing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.pricing-header h3 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin: 0;
}
.pricing-icon {
    font-size: 2.5rem;
}
.pricing-price {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.price-free {
    display: block;
    color: var(--gemini-cyan);
    font-size: 0.9rem;
    margin-bottom: 5px;
}
.price-amount {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.price-note {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 5px;
}
.pricing-features {
    list-style: none;
    margin-bottom: 25px;
}
.pricing-features li {
    padding: 10px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.pricing-features li:last-child {
    border-bottom: none;
}
.btn-pricing {
    display: block;
    width: 100%;
    padding: 15px;
    text-align: center;
    background: var(--gradient-primary);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
}
.btn-pricing:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(75, 144, 255, 0.4);
}
.btn-pricing.secondary {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}
.btn-pricing.secondary:hover {
    background: rgba(255,255,255,0.15);
}
.pricing-note {
    margin-top: 40px;
    padding: 20px;
    background: rgba(75, 144, 255, 0.1);
    border-radius: 12px;
    border-left: 4px solid var(--gemini-blue);
    text-align: center;
}
.pricing-note p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Recommendation Cards */
.recommendation-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}
.recommendation-card {
    background: var(--bg-secondary);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.3s, border-color 0.3s;
}
.recommendation-card:hover {
    transform: translateY(-3px);
    border-color: var(--gemini-blue);
}
.rec-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.recommendation-card h3 {
    color: var(--text-main);
    margin-bottom: 10px;
    font-size: 1.2rem;
}
.recommendation-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}
.recommendation-card strong {
    color: var(--gemini-blue-light);
}

/* CTA Section */
.compare-cta {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.2), rgba(75, 144, 255, 0.1));
    border-top: 1px solid rgba(75, 144, 255, 0.3);
    border-bottom: 1px solid rgba(75, 144, 255, 0.3);
}

/* Responsive Styles for Compare Page */
@media (max-width: 992px) {
    .pricing-cards {
        grid-template-columns: 1fr;
    }
    .summary-cards {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    .direct-comparison-grid {
        grid-template-columns: 1fr;
    }
    .comp-pros-cons {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .compare-hero {
        padding: 40px 0 30px;
    }
    .hero-image {
        width: 100%;
        height: auto;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .comparison-table-wrapper {
        padding: 10px;
    }
    .comparison-table {
        font-size: 0.9rem;
    }
    .comparison-table th,
    .comparison-table td {
        padding: 12px 8px;
    }
    .pricing-card {
        padding: 20px;
    }
    .price-amount {
        font-size: 2rem;
    }
    .recommendation-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-image {
        width: 100%;
        height: auto;
    }
    .comparison-table {
        font-size: 0.8rem;
        min-width: 600px;
    }
    .badge {
        font-size: 0.75rem;
        padding: 3px 8px;
    }
}