/* CSS Custom Properties for animated border */
@property --gradient-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #000;
    background-color: #fff;
    font-size: 16px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header styles */
.header {
    padding: 40px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(0,0,0,0.05) 0%, rgba(255,255,255,0.1) 100%);
    border-radius: 20px;
    margin: 20px 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.header::after {
    content: "";
    position: absolute;
    inset: -1px;
    background: conic-gradient(
        from var(--gradient-angle),
        rgba(218, 165, 32, 0.2),
        rgba(240, 230, 140, 0.3),
        rgba(255, 248, 220, 0.4),
        rgba(255, 215, 0, 0.3),
        rgba(255, 165, 0, 0.3),
        rgba(240, 230, 140, 0.3),
        rgba(218, 165, 32, 0.2)
    );
    border-radius: inherit;
    animation: rotateBorder 4s linear infinite;
    z-index: -2;
}

@keyframes rotateBorder {
    0% {
        --gradient-angle: 0deg;
    }
    100% {
        --gradient-angle: 360deg;
    }
}



.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.logo {
    height: 100px;
    width: auto;
    border-radius: 8px;
    filter: drop-shadow(0 4px 8px rgba(255, 255, 255, 0.9)) 
            drop-shadow(0 0 15px rgba(255, 255, 255, 0.6));
}

.brand-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.9),
                 0 2px 4px rgba(255, 255, 255, 0.7),
                 0 0 30px rgba(255, 255, 255, 0.5);
}

.brand-subtitle {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
    margin-top: 10px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8),
                 0 1px 3px rgba(255, 255, 255, 0.6);
}

/* Get Pro Button */
.get-pro-btn {
    margin-top: 15px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #000 0%, #1a1a1a 50%, #000 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.get-pro-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.get-pro-btn:hover::before {
    left: 100%;
}

.get-pro-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #1a1a1a 0%, #333 50%, #1a1a1a 100%);
}

.get-pro-btn:active {
    transform: translateY(0);
}

/* Main content */
.main-content {
    flex: 1;
    padding: 20px 0;
}

/* Search section */
.search-section {
    margin-bottom: 40px;
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(0,0,0,0.02) 100%);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.search-input-group {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.search-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    font-size: 16px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 4px rgba(0,0,0,0.1);
}

.search-button {
    padding: 15px 25px;
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    min-width: 120px;
    justify-content: center;
}

.search-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 165, 0, 0.6);
}

.search-button:active {
    transform: translateY(0);
}

.search-icon {
    flex-shrink: 0;
}

.search-description {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-top: 5px;
}

/* Suggested searches styling */
.suggested-searches {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 15px 0 10px;
    flex-wrap: wrap;
}

.suggestion-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 300;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.suggestion-btn:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.suggestion-btn:active {
    transform: translateY(0);
}

.suggestion-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
}

.suggestion-logo svg {
    width: 16px;
    height: 16px;
}

.suggestion-btn span {
    font-weight: 300;
    white-space: nowrap;
}

/* Loading indicator */
.loading-indicator {
    text-align: center;
    padding: 40px;
    display: none;
}

.loading-indicator.htmx-request {
    display: block;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0,0,0,0.1);
    border-top: 3px solid #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

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

/* Search results */
.search-results {
    margin-top: 30px;
}

.results-container {
    max-width: 100%;
}

/* Results summary that fades under search box */
.results-summary {
    text-align: center;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease-out;
}

.results-count {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.results-count strong {
    color: #000;
    font-weight: 700;
}

/* Risk alert styling */
.risk-alert {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: #d97706;
    margin-top: 8px;
    padding: 8px 16px;
    background: rgba(251, 191, 36, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.alert-icon {
    stroke: #d97706;
    flex-shrink: 0;
}

.risk-details-btn {
    background: #d97706;
    color: white;
    border: none;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 8px;
}

.risk-details-btn:hover {
    background: #b45309;
    transform: translateY(-1px);
}

/* Risk modal styling */
.risk-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}

.risk-modal {
    background: white;
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.risk-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #fef7ed 0%, #fed7aa 100%);
}

.modal-header-content {
    flex: 1;
}

.risk-modal-header h2 {
    margin: 0 0 8px 0;
    font-size: 1.5rem;
    color: #000;
}

.modal-subtitle {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
    font-style: italic;
}

.risk-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.risk-modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #000;
}

.risk-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 25px;
    max-height: calc(85vh - 140px);
}

/* Briefing-style narrative display */
.narrative-briefing {
    margin-bottom: 30px;
    padding: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 25px;
}

.narrative-briefing:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.narrative-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 10px 0;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.disinfo-risk-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.disinfo-high { 
    background: #fee2e2; 
    color: #dc2626; 
}

.disinfo-medium { 
    background: #fef3c7; 
    color: #d97706; 
}

.disinfo-low { 
    background: #ecfdf5; 
    color: #059669; 
}

.risk-icon {
    flex-shrink: 0;
}

.narrative-rationale-brief {
    color: #666;
    font-style: italic;
    font-size: 15px;
    line-height: 1.5;
    margin: 12px 0 20px 0;
}

.briefing-article {
    margin-bottom: 12px;
    line-height: 1.5;
    font-size: 15px;
}

.briefing-article:last-child {
    margin-bottom: 0;
}

.briefing-article strong {
    color: #000;
    font-weight: 600;
}

.briefing-article a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.briefing-article a:hover {
    color: #333;
    text-decoration: underline;
}

.shares-count {
    color: #d97706;
    font-weight: 600;
    font-size: 13px;
    margin-left: 8px;
    padding: 2px 6px;
    background: rgba(251, 191, 36, 0.1);
    border-radius: 4px;
}

/* Email signup bar styling */
.email-signup-bar {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.2);
    padding: 20px 25px;
    border-top: 1px solid rgba(251, 191, 36, 0.2);
    margin-top: 0;
    flex-shrink: 0;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.signup-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 100%;
}

.signup-text {
    color: #d97706;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
}

.signup-form {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    max-width: 350px;
}

.email-input {
    flex: 1;
    padding: 10px 14px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    color: #000;
    outline: none;
    transition: all 0.3s ease;
}

.email-input:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.email-input::placeholder {
    color: #666;
}

.send-button {
    padding: 10px 20px;
    background: rgba(217, 119, 6, 0.1);
    border: 1px solid rgba(217, 119, 6, 0.3);
    border-radius: 6px;
    color: #d97706;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.send-button:hover {
    background: rgba(217, 119, 6, 0.2);
    border-color: rgba(217, 119, 6, 0.5);
    transform: translateY(-1px);
}

.send-button:active {
    transform: translateY(0);
}

/* Responsive design for signup bar */
@media (max-width: 600px) {
    .signup-content {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .signup-text {
        text-align: center;
    }
    
    .signup-form {
        max-width: none;
    }
}

.results-header {
    margin-bottom: 30px;
    text-align: center;
}

.results-header h2 {
    font-size: 2rem;
    margin-bottom: 8px;
    color: #000;
}

.sort-label {
    color: #666;
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

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

/* Articles grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.article-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(0,0,0,0.02) 100%);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.article-header {
    margin-bottom: 15px;
}

.article-title {
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 12px;
}

.article-title a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-title a:hover {
    color: #333;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: #666;
    align-items: center;
}

.article-source {
    font-weight: 600;
}

.article-shares {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #ed6b2d;
    font-weight: 600;
}

.share-icon {
    flex-shrink: 0;
    stroke: #ed6b2d;
}

.article-image {
    margin: 15px 0;
    border-radius: 12px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-content {
    margin: 15px 0;
}

.article-body {
    line-height: 1.6;
    color: #333;
}

.article-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.read-more-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.read-more-button:hover {
    transform: translateX(3px);
}

.external-link-icon {
    flex-shrink: 0;
}

/* Error and empty states */
.error-message, .empty-state {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(255,0,0,0.02) 100%);
    border-radius: 16px;
    border: 1px solid rgba(255,0,0,0.1);
}

.empty-state {
    background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(0,0,0,0.02) 100%);
    border: 1px solid rgba(0,0,0,0.1);
}

.error-icon, .empty-icon {
    margin: 0 auto 20px;
    color: #666;
}

.error-message h3, .empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.error-message p, .empty-state p {
    color: #666;
    font-size: 16px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px 0;
    color: #666;
    font-size: 14px;
    border-top: 1px solid rgba(0,0,0,0.1);
    margin-top: 40px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .brand-title {
        font-size: 2rem;
    }
    
    .search-container {
        padding: 20px;
        margin: 0 10px;
    }
    
    .search-input-group {
        flex-direction: column;
    }
    
    .search-button {
        min-width: auto;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .article-card {
        padding: 20px;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 25px 0;
        margin: 15px 0;
    }
    
    .brand-title {
        font-size: 1.8rem;
    }
    
    .search-container {
        padding: 15px;
        margin: 0 5px;
    }
    
    .search-input, .search-button {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .article-card {
        padding: 15px;
    }
    
    .suggested-searches {
        gap: 8px;
        margin: 12px 0 8px;
    }
    
    .suggestion-btn {
        padding: 6px 12px;
        font-size: 13px;
        gap: 6px;
        border-radius: 4px;
    }
    
    .suggestion-logo {
        width: 18px;
        height: 18px;
    }
    
    .suggestion-logo svg {
        width: 16px;
        height: 16px;
    }
}

/* HTMX specific styles */
.htmx-indicator {
    opacity: 0;
    transition: opacity 500ms ease-in;
}

.htmx-request .htmx-indicator {
    opacity: 1;
}

.htmx-request.htmx-indicator {
    opacity: 1;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid #000;
    outline-offset: 2px;
}

.search-button:focus {
    outline-color: #fff;
}

/* Pro Modal Styles */
.pro-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    animation: fadeIn 0.3s ease-out forwards;
    padding: 20px;
    box-sizing: border-box;
}

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

.pro-modal {
    background: linear-gradient(135deg, rgba(20,20,20,0.98) 0%, rgba(40,40,40,0.95) 50%, rgba(15,15,15,0.98) 100%);
    border-radius: 20px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
    transform: scale(0.95);
    animation: modalSlideIn 0.3s ease-out 0.1s forwards;
    position: relative;
}

@keyframes modalSlideIn {
    to {
        transform: scale(1);
    }
}

.pro-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 30px 30px 20px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.pro-modal-header-logo {
    padding: 30px;
    text-align: center;
    background: linear-gradient(135deg, rgba(10,10,10,0.95) 0%, rgba(40,40,40,0.9) 30%, rgba(60,60,60,0.8) 70%, rgba(20,20,20,0.95) 100%);
    border-radius: 20px 20px 0 0;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pro-modal-header-logo::after {
    content: "";
    position: absolute;
    inset: -1px;
    background: conic-gradient(
        from var(--gradient-angle),
        rgba(100, 100, 100, 0.3),
        rgba(150, 150, 150, 0.4),
        rgba(200, 200, 200, 0.5),
        rgba(180, 180, 180, 0.4),
        rgba(120, 120, 120, 0.3),
        rgba(150, 150, 150, 0.4),
        rgba(100, 100, 100, 0.3)
    );
    border-radius: inherit;
    animation: rotateBorder 6s linear infinite;
    z-index: -1;
}

@keyframes rotateBorder {
    0% {
        --gradient-angle: 0deg;
    }
    100% {
        --gradient-angle: 360deg;
    }
}

.pro-modal-header-logo .logo-container {
    flex: 1;
    text-align: center;
}

.logo-inverted {
    filter: invert(1) brightness(1.2);
    height: 50px;
    width: auto;
}

.brand-subtitle-white {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    font-weight: 500;
    margin: 8px 0 0 0;
    letter-spacing: 0.5px;
}

.pro-modal-header-logo .pro-modal-close {
    color: white;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    position: relative;
    z-index: 10;
}

.pro-modal-header-logo .pro-modal-close:hover {
    background: rgba(255,255,255,0.2);
    color: white;
}

.pro-modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #000;
    margin: 0;
    line-height: 1.2;
}

.pro-modal-close {
    background: none;
    border: none;
    font-size: 30px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.pro-modal-close:hover {
    background: rgba(0,0,0,0.1);
    color: #000;
}

.pro-modal-body {
    padding: 25px;
}

.pro-offer-header {
    margin-bottom: 20px;
}

.pro-offer-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 8px 0;
}

.pro-offer-subtitle {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.5;
    margin: 0;
}

.pro-description {
    margin-bottom: 25px;
}

.pro-description p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    margin: 0;
}

.pro-features {
    margin-bottom: 20px;
}

.pro-features h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 12px 0;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-icon {
    font-size: 18px;
    font-weight: bold;
    color: #059669;
    margin-top: 2px;
    min-width: 20px;
    flex-shrink: 0;
}

.feature-content {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #ddd;
}

.feature-content strong {
    color: #fff;
}

.pro-deliverables {
    margin-bottom: 25px;
}

.pro-deliverables h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
    margin: 0 0 10px 0;
}

.deliverables-list {
    margin: 0;
    padding-left: 20px;
}

.deliverables-list li {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333;
    margin-bottom: 5px;
}

.pro-bonus {
    background: linear-gradient(135deg, rgba(255,215,0,0.15) 0%, rgba(255,165,0,0.15) 100%);
    border: 2px solid rgba(255,215,0,0.3);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    position: relative;
}

.bonus-badge {
    font-size: 1rem;
    font-weight: 600;
    color: #ff8800;
    margin-bottom: 4px;
    display: block;
}

.bonus-subscription-note {
    font-size: 0.85rem;
    color: #ccc;
    margin-bottom: 12px;
    font-style: italic;
}

.bonus-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.bonus-item {
    color: #ddd;
    line-height: 1.6;
    font-weight: 500;
    font-size: 0.95rem;
}

.bonus-item strong {
    color: #fff;
}

.pro-bonus p {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.5;
    margin: 0;
}

.pro-pricing {
    background: rgba(0,0,0,0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
}

.pricing-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.price-item, .target-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.price-label, .target-label {
    font-weight: 600;
    color: #000;
    white-space: nowrap;
}

.price-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
}

.target-value {
    color: #333;
    line-height: 1.4;
}

.pro-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.pro-action-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
    text-align: center;
}

.pro-action-btn.primary {
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.pro-action-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    background: linear-gradient(135deg, #1a1a1a 0%, #444 100%);
}

.pro-action-btn.secondary {
    background: rgba(255,255,255,0.9);
    color: #000;
    border: 2px solid #000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.pro-action-btn.secondary:hover {
    transform: translateY(-2px);
    background: #000;
    color: white;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Modal responsive design */
@media (max-width: 768px) {
    .pro-modal {
        margin: 10px;
        max-width: calc(100% - 20px);
    }
    
    .pro-modal-header, .pro-modal-body {
        padding: 20px;
    }
    
    .pro-modal-title {
        font-size: 1.5rem;
    }
    
    .pro-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .pro-action-btn {
        min-width: auto;
        width: 100%;
    }
    
    .pricing-details {
        gap: 8px;
    }
    
    .price-item, .target-item {
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .pro-modal-overlay {
        padding: 10px;
    }
    
    .pro-modal {
        margin: 0;
        max-width: 100%;
        border-radius: 15px;
    }
    
    .pro-modal-header, .pro-modal-body {
        padding: 15px;
    }
    
    .pro-modal-title {
        font-size: 1.3rem;
    }
    
    .feature-item {
        gap: 8px;
    }
    
    .feature-content, .deliverables-list li, .pro-bonus p {
        font-size: 0.9rem;
    }
}

/* Waitlist Form Styles */
.waitlist-form-top {
    background: rgba(60, 60, 60, 0.3);
    border-radius: 15px;
    padding: 25px;
    margin: 20px 0;
    border: 1px solid rgba(255,255,255,0.1);
}

.waitlist-form {
    background: rgba(248, 250, 252, 0.7);
    border-radius: 15px;
    padding: 25px;
    margin-top: 25px;
    border: 1px solid rgba(0,0,0,0.08);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.1);
    color: #fff;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #fff;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.2);
}

.form-group input::placeholder {
    color: #aaa;
}

.pro-action-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.btn-loading {
    display: none;
}

.success-message {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(34, 197, 94, 0.1) 100%);
    border-radius: 15px;
    border: 2px solid rgba(34, 197, 94, 0.4);
}

.success-message h4 {
    color: #22c55e;
    font-size: 1.3rem;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.success-message p {
    color: #bbf7d0;
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .waitlist-form {
        padding: 20px;
        margin-top: 20px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group input {
        padding: 10px 14px;
    }
    
    .success-message {
        padding: 25px 15px;
    }
    
    .success-message h4 {
        font-size: 1.2rem;
    }
}
