:root {
    --bg-primary: #F7F3E9;
    --bg-secondary: #FFFFFF;
    --bg-tertiary: #FAF8F3;
    --text-primary: #2C3E50;
    --text-secondary: #5A6C7D;
    --text-tertiary: #7A8A9A;
    --border-color: rgba(45, 125, 125, 0.15);
    --accent-primary: #2D7D7D;
    --accent-secondary: #FF6B6B;
    --shadow-sm: 0 2px 4px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --grain-opacity: 0.03;
}

[data-theme="dark"] {
    --bg-primary: #1c1c1c;
    --bg-secondary: #242424;
    --bg-tertiary: #2a2a2a;
    --text-primary: #F7F3E9;
    --text-secondary: #B8B0A0;
    --text-tertiary: #90A4AE;
    --border-color: rgba(45, 125, 125, 0.2);
    --accent-primary: #4A9999;
    --accent-secondary: #FF8B8B;
    --grain-opacity: 0.015;
}

[data-theme="dark"] .gradient-bg::before,
[data-theme="dark"] .gradient-bg::after,
[data-theme="dark"] .orb {
    opacity: 0.2;
    filter: blur(100px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

/* Static gradient background - no animations */
.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.4;
    pointer-events: none;
    background: radial-gradient(circle at 20% 30%, var(--accent-primary) 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, var(--accent-secondary) 0%, transparent 40%);
}

/* Ensure content is above background */
.navbar, .hero-section, .features-section, .community-section, .footer {
    position: relative;
    z-index: 2;
}

/* Removed grain overlay for better performance */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(247, 243, 233, 0.8);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

[data-theme="dark"] .navbar {
    background-color: rgba(28, 28, 28, 0.8);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none;
}

.logo-emoji {
    font-size: 1.5rem;
    vertical-align: middle;
    display: inline-block;
}

.logo-img {
    height: 1.8em;
    width: auto;
    vertical-align: middle;
    margin-right: 0.3rem;
    background: transparent;
    image-rendering: crisp-edges;
    image-rendering: -webkit-optimize-contrast;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-primary, .btn-secondary {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.375rem;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--accent-primary);
    color: white;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 107, 107, 0.2) 100%);
    transition: opacity 0.2s;
    opacity: 0;
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--bg-secondary);
}

.btn-large {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    color: var(--text-primary);
}

.sun-icon {
    display: block;
}

.moon-icon {
    display: none;
}

[data-theme="dark"] .sun-icon {
    display: none;
}

[data-theme="dark"] .moon-icon {
    display: block;
}

.hero-section {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
}

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

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.typewriter-container {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    min-height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.typewriter-text {
    color: var(--text-primary);
    font-weight: 600;
}

/* Removed typewriter animation */

.chat-input-container {
    margin: 3rem auto;
    max-width: 600px;
    position: relative;
}

.chat-form {
    display: flex;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.75rem;
    padding: 0.5rem;
    box-shadow: 0 8px 32px 0 rgba(45, 125, 125, 0.15);
    transition: all 0.3s;
}

[data-theme="dark"] .chat-form {
    background: rgba(36, 36, 36, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-form:focus-within {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(45, 125, 125, 0.1);
}

.chat-input {
    flex: 1;
    background: none;
    border: none;
    padding: 0.75rem 1rem 0.75rem 1.5rem;
    font-size: 1rem;
    color: var(--text-primary);
    outline: none;
}

.chat-input::placeholder {
    color: var(--text-tertiary);
}

.chat-submit {
    background: var(--accent-primary);
    border: none;
    border-radius: 0.5rem;
    padding: 0.75rem 1.25rem;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}

.chat-submit::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 107, 107, 0.2) 100%);
    transition: opacity 0.2s;
    opacity: 0;
}

.chat-submit:hover::after {
    opacity: 1;
}

.chat-submit:hover {
    transform: scale(1.05);
}

.chat-submit:active {
    transform: scale(0.95);
}

.hero-actions {
    margin-bottom: 4rem;
}

.project-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.category-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    box-shadow: 0 8px 32px 0 rgba(45, 125, 125, 0.1);
}

[data-theme="dark"] .category-card {
    background: rgba(36, 36, 36, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.category-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-primary);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.category-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.features-section {
    padding: 6rem 2rem;
    background: transparent;
}

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

.features-container h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s;
    box-shadow: 0 8px 32px 0 rgba(45, 125, 125, 0.1);
}

[data-theme="dark"] .feature-card {
    background: rgba(36, 36, 36, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.community-section {
    padding: 6rem 2rem;
    background-color: var(--bg-primary);
}

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

.community-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.community-container > p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.project-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.showcase-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s;
    cursor: pointer;
    box-shadow: 0 8px 32px 0 rgba(45, 125, 125, 0.1);
}

[data-theme="dark"] .showcase-card {
    background: rgba(36, 36, 36, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.showcase-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.showcase-preview {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem auto;
    display: block;
    opacity: 0.8;
}

.showcase-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.showcase-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer {
    background: rgba(247, 243, 233, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    padding: 4rem 2rem 2rem;
}

[data-theme="dark"] .footer {
    background: rgba(28, 28, 28, 0.6);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* Otter assistant styles */
.otter-assistant {
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 10;
}

.otter-assistant:hover {
    transform: translateY(-50%) scale(1.1);
}

.otter-assistant img {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.otter-bubble {
    position: absolute;
    bottom: 65px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 1rem;
    padding: 0.75rem 1rem;
    min-width: 200px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
}

[data-theme="dark"] .otter-bubble {
    background: var(--bg-secondary);
}

.otter-bubble.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.otter-bubble::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid white;
}

[data-theme="dark"] .otter-bubble::after {
    border-top-color: var(--bg-secondary);
}

.otter-bubble-text {
    font-size: 0.9rem;
    color: var(--text-primary);
    margin: 0;
}

/* Removed otter animations */

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.social-links a:hover {
    color: var(--text-primary);
}

/* Removed all animation-related styles */

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-menu-item {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 0.5rem;
    transition: background-color 0.2s;
}

.mobile-menu-item:hover {
    background-color: var(--bg-tertiary);
}

.mobile-login {
    margin-top: 0.5rem;
    width: 100%;
}

.desktop-only {
    display: flex;
}

.logo-text {
    font-size: 1.4em;
    color: var(--accent-primary);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .nav-container {
        padding: 0.75rem 1rem;
    }
    
    .desktop-only {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-logo {
        font-size: 1.1rem;
    }
    
    .logo-text {
        font-size: 1.2em;
    }
    
    .logo-img {
        height: 1.5em;
    }
    
    .hero-section {
        padding: 6rem 1rem 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .chat-input-container {
        margin: 2rem 1rem;
    }
    
    .otter-assistant {
        display: none;
    }
    
    .project-categories {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-grid {
        text-align: center;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-column a {
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .features-section,
    .community-section {
        padding: 3rem 1rem;
    }
    
    .features-container h2,
    .community-container h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .chat-input {
        font-size: 0.9rem;
        padding: 0.6rem 0.8rem;
    }
    
    .chat-submit {
        padding: 0.6rem 1rem;
    }
}

/* Support Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--bg-secondary);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    font-weight: 300;
    line-height: 1;
    color: var(--text-tertiary);
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-content h2 {
    color: var(--accent-primary);
    font-size: 1.75rem;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 700;
}

.modal-divider {
    width: 60px;
    height: 3px;
    background: var(--accent-secondary);
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

.modal-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.2s;
    cursor: pointer;
}

.contact-item:hover {
    background: var(--bg-primary);
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
    border-color: var(--accent-primary);
}

.contact-item svg {
    width: 24px;
    height: 24px;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-info strong {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.contact-info span {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 600;
}

@media (max-width: 480px) {
    .modal-content {
        padding: 2rem 1.5rem;
        width: 95%;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
    }
    
    .contact-item {
        padding: 1rem;
    }
}

/* Authentication Modal Styles */
.auth-modal-content {
    max-width: 420px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.auth-form h2 {
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: var(--bg-primary);
    box-shadow: 0 0 0 3px rgba(120, 100, 255, 0.1);
}

.form-input::placeholder {
    color: var(--text-tertiary);
}

.auth-submit {
    width: 100%;
    padding: 0.875rem;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-tertiary);
    font-size: 0.875rem;
    margin: 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.auth-divider span {
    padding: 0 1rem;
}

.btn-google {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-google:hover {
    background: var(--bg-primary);
    border-color: var(--accent-primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.auth-switch {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
}

.auth-switch a {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.auth-switch a:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

.auth-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    text-align: center;
    display: none;
    margin-bottom: 1rem;
}

/* Example website cards styles */
.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.example-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 8px 32px 0 rgba(45, 125, 125, 0.1);
    position: relative;
}

[data-theme="dark"] .example-card {
    background: rgba(36, 36, 36, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.example-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-primary);
}

.example-iframe-container {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    background: var(--bg-tertiary);
}

.example-iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    transform: scale(1);
    transform-origin: top left;
}

.placeholder-site {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-tertiary);
    background: var(--bg-tertiary);
    font-weight: 500;
}

.example-info {
    padding: 1.5rem;
    text-align: center;
}

.example-info h5 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.example-info a {
    color: var(--accent-primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
    display: inline-block;
    margin-right: 15px;
}

.example-info a:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

.use-template-btn {
    color: var(--text-secondary) !important;
}

.use-template-btn:hover {
    color: var(--accent-primary) !important;
}

.coming-soon-text {
    color: var(--text-tertiary);
    font-size: 0.95rem;
    font-style: italic;
}

@media (max-width: 768px) {
    .examples-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .example-iframe-container {
        height: 200px;
    }
}

/* Site badge styles */
.site-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
    letter-spacing: 1px;
}

.live-badge {
    background: #ff4444;
    color: white;
}

.free-badge {
    background: #4CAF50;
    color: white;
}

/* Iframe placeholder styles */
.iframe-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: 8px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--bg-secondary);
    border-top: 3px solid var(--accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.iframe-placeholder p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Site preview styles */
.site-preview {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.example-card:hover .preview-overlay {
    opacity: 1;
}

.preview-overlay span {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    background: var(--accent-primary);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
}