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

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0f;
    min-height: 100vh;
    color: white;
    overflow-x: hidden;
}

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

.header {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

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

.logo-icon {
    font-size: 28px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 180px);
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
}

.card {
    background: rgba(30, 30, 50, 0.8);
    border-radius: 24px;
    padding: 24px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.15);
}

.card-large {
    grid-column: span 1;
    grid-row: span 2;
    background: linear-gradient(135deg, #2D1B69 0%, #11998e 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-main {
    grid-column: span 2;
    grid-row: span 3;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.card-stats {
    grid-column: span 1;
    grid-row: span 1;
    text-align: center;
    background: rgba(40, 40, 70, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card-users {
    grid-column: span 1;
    grid-row: span 1;
    text-align: center;
    background: rgba(40, 40, 70, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card-generate {
    grid-column: span 1;
    grid-row: span 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(40, 40, 70, 0.6);
}

.card-templates {
    grid-column: span 1;
    grid-row: span 1;
    background: rgba(40, 40, 70, 0.6);
    position: relative;
}

.card-small {
    grid-column: span 1;
    grid-row: span 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(40, 40, 70, 0.6);
}

/* Card Content Styles */
.card-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.card-large h2 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: auto;
}

.trial-info {
    margin-top: auto;
}

.trial-text {
    display: block;
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
}

.price {
    display: block;
    font-size: 12px;
    opacity: 0.7;
    margin-top: 4px;
}

.main-header {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.promptpal-logo {
    font-size: 16px;
    font-weight: 600;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-main h1 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.ai-orb {
    display: flex;
    justify-content: center;
    margin: 30px 0;
    position: relative;
}

.orb-container {
    position: relative;
    width: 160px;
    height: 160px;
}

.orb {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, 
        #ff6b6b 0%, 
        #4ecdc4 25%, 
        #45b7d1 50%, 
        #96ceb4 75%, 
        #ffeaa7 100%);
    box-shadow: 
        0 0 40px rgba(255, 107, 107, 0.3),
        0 0 80px rgba(78, 205, 196, 0.2),
        inset 0 0 40px rgba(255, 255, 255, 0.1);
    animation: rotate 8s linear infinite, pulse-glow 3s ease-in-out infinite;
    position: relative;
}

.orb::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 20%;
    width: 30%;
    height: 30%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(8px);
}

.orb-ring {
    position: absolute;
    top: -20px;
    left: -20px;
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: rotate-reverse 12s linear infinite, ring-pulse 2s ease-in-out infinite;
}

.orb-ring::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px #fff;
    animation: orbit 4s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotate-reverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 
            0 0 40px rgba(255, 107, 107, 0.3),
            0 0 80px rgba(78, 205, 196, 0.2),
            inset 0 0 40px rgba(255, 255, 255, 0.1);
    }
    50% { 
        box-shadow: 
            0 0 60px rgba(255, 107, 107, 0.5),
            0 0 120px rgba(78, 205, 196, 0.3),
            inset 0 0 60px rgba(255, 255, 255, 0.2);
    }
}

@keyframes ring-pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

@keyframes orbit {
    from { transform: rotate(0deg) translateX(100px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(100px) rotate(-360deg); }
}

.features-row {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.feature {
    flex: 1;
    text-align: left;
    background: rgba(255, 255, 255, 0.1);
    padding: 16px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.feature-icon {
    font-size: 20px;
    margin-bottom: 8px;
    display: block;
}

.feature h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.feature p {
    font-size: 11px;
    opacity: 0.8;
    line-height: 1.4;
}

.stat-icon {
    font-size: 28px;
    margin-bottom: 8px;
    opacity: 0.8;
}

.card-stats h2, .card-users h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 4px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-stats p, .card-users p {
    font-size: 12px;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.user-avatars {
    display: flex;
    justify-content: center;
    gap: -8px;
    margin-top: 12px;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(45deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    margin-left: -8px;
}

.avatar:first-child {
    margin-left: 0;
}

.generate-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 16px;
    padding: 16px 24px;
    color: white;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
}

.btn-icon {
    font-size: 16px;
}

.card-templates h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.card-templates p {
    font-size: 11px;
    opacity: 0.7;
    line-height: 1.4;
    margin-bottom: 12px;
}

.template-badge {
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 9px;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 12px;
    color: #667eea;
}

.template-icons {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    position: absolute;
    bottom: 16px;
    right: 16px;
}

.template-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.small-icon {
    font-size: 28px;
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(6, 140px);
    }
    
    .card-main {
        grid-column: span 2;
        grid-row: span 3;
    }
    
    .card-large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .card-templates {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .orb-container {
        width: 120px;
        height: 120px;
    }
    
    .card-main h1 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(8, 120px);
    }
    
    .card-main, .card-large, .card-templates {
        grid-column: span 1;
        grid-row: span 2;
    }
    
    .orb-container {
        width: 100px;
        height: 100px;
    }
    
    .card-main h1 {
        font-size: 28px;
    }
}