/* ============================================
   Modern Project Page Stylesheet - ShapeLLM
   Fresh & Elegant Design
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

/* CSS Variables */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --accent-pink: #fe8e8e;
    --accent-mint: #9fd8ca;
    --accent-blue: #98d4e6;
    --accent-purple: #c8a4dd;
    --accent-gold: #ecd1aa;
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --bg-light: #fafafa;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --shadow-soft: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 16px;
}

/* Base Styles */
body {
    font-family: 'Inter', 'Noto Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    color: var(--text-primary);
    line-height: 1.7;
}

/* Typography */
.make-font {
    font-size: 60pt;
}

@media screen and (max-width: 768px) {
    .make-font {
        font-size: 26pt;
    }
}

.high-font {
    font-size: 42pt;
    font-weight: 400;
    letter-spacing: -0.5px;
}

@media screen and (max-width: 768px) {
    .high-font {
        font-size: 18pt;
    }
}

.authors-font {
    font-size: 1.15em;
    font-weight: 500;
}

@media screen and (max-width: 768px) {
    .authors-font {
        font-size: 0.95em;
    }
}

.btn-font {
    font-size: 0.95em !important;
    font-weight: 500 !important;
}

@media screen and (max-width: 768px) {
    .btn-font {
        font-size: 0.8em !important;
    }
}

.sansfont {
    font-family: 'Inter', 'Noto Sans', sans-serif;
}

.acmefont {
    font-family: 'Acme', sans-serif;
}

/* Animated Title */
.shakefont {
    font-size: 84px;
    display: inline-block;
    font-weight: 600;
    text-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

@media screen and (max-width: 768px) {
    .shakefont {
        font-size: 36px;
    }
}

.shadowtext {
    text-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* Button Styles */
.light-btn {
    background: rgba(255,255,255,0.95) !important;
    color: var(--text-primary) !important;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color) !important;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.light-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background: white !important;
}

.is-rounded {
    border-radius: 25px !important;
}

.link-block {
    font-size: 13pt;
}

/* Cards */
.card-1 {
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    border-radius: var(--border-radius);
    margin-bottom: 24pt;
    background: var(--bg-card);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: var(--transition);
}

.card-1:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.card-1 video,
.card-1 img {
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    width: 100%;
}

.card-0 {
    margin-bottom: 32pt;
}

.card-content {
    padding: 16px 20px;
}

.prompt {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    height: auto;
    min-height: 2.5em;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Sections */
.mode-font {
    font-size: 56px !important;
    font-weight: 600 !important;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media screen and (max-width: 768px) {
    .mode-font {
        font-size: 32px !important;
    }
}

.note-font {
    font-size: 1em;
    color: var(--text-muted);
}

/* Content Sections */
.content.has-text-justified {
    text-align: justify;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
}

.content.has-text-justified b,
.content.has-text-justified strong {
    color: var(--text-primary);
}

/* Highlight Colors */
.highlight-pink { color: var(--accent-pink); font-weight: 600; }
.highlight-mint { color: var(--accent-mint); }
.highlight-blue { color: var(--accent-blue); }

/* Image Styles */
.interpolation-image {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.interpolation-image:hover {
    box-shadow: var(--shadow-hover);
}

/* Citation Block */
pre {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 20px 24px;
    font-size: 13px;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    overflow-x: auto;
    margin: 0;
}

pre code {
    background: transparent;
    padding: 0;
    border: none;
    font-size: inherit;
    color: inherit;
    white-space: pre-wrap;
    word-break: break-word;
}

/* Footer */
footer.footer {
    background: transparent;
    padding: 2em;
}

footer.footer .content {
    color: var(--text-muted);
    font-size: 14px;
}

footer.footer a {
    color: var(--text-muted);
    transition: var(--transition);
}

footer.footer a:hover {
    color: var(--accent-pink);
}

/* Animations */
@keyframes bounce1 {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-15px); }
    60% { transform: translateY(-8px); }
}

@keyframes bounce2 {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

@keyframes bounce3 {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-18px); }
    60% { transform: translateY(-6px); }
}

.word1 { animation: bounce1 1s infinite; }
.word2 { animation: bounce2 2s infinite; }
.word3 { animation: bounce3 3s infinite; }
.word4 { animation: bounce1 1.5s infinite; }
.word5 { animation: bounce2 1.0s infinite; }
.word6 { animation: bounce3 1.75s infinite; }

/* Video Container */
.video.lazy {
    border-radius: 0;
}

/* Slider */
.custom-slider2 {
    padding: 20px 0;
}

/* Responsive Columns */
.v-columns {
    height: 400px;
}

.v-column-left { width: 18%; }
.v-column-center { width: 74%; }
.v-column-right { width: 18%; }

@media screen and (max-width: 768px) {
    .v-column-left { width: 2%; }
    .v-column-center { width: 96%; }
    .v-column-right { width: 2%; }
    .v-columns { height: 200px; }
}

/* Section Backgrounds */
.hero-body-subtitle {
    padding: 3rem 1.5rem;
    background: var(--bg-light);
}

.hero-body-subtitle-light {
    padding: 3rem 1.5rem;
    background: var(--bg-card);
}

/* Container Widths */
.is-max-maxwidth {
    max-width: 900px;
}

/* Lists */
ol {
    padding-left: 1.5em;
}

ol li {
    margin-bottom: 0.5em;
    color: var(--text-secondary);
}

/* Misc */
.container-1 {
    display: flex;
    width: 100%;
}

.column-1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.column-left { width: 30%; margin-left: 10%; }
.column-right { width: 50%; }

.example {
    width: 90%;
    margin-left: 5%;
}

.ist-font { font-size: 2em; }
.long-font { font-size: 30pt; }
.example-font { font-size: 1em !important; }

@media screen and (max-width: 768px) {
    .example-font { font-size: 0.75em !important; padding: 8pt !important; }
    .ist-font { font-size: 1em; padding: 1pt !important; }
    .long-font { font-size: 20pt; }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: rgba(102, 126, 234, 0.2);
    color: var(--text-primary);
}
