/* Try-It-Out Page Styles - Completely Redesigned */
/* Upload Card */
.upload-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 2px solid #36ba80;
    padding: 40px 30px 30px 30px;
    max-width: 600px;
    margin: 0 auto 32px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.upload-card .section-title {
    margin-bottom: 24px;
    text-align: center;
}

/* CTA Card (moved up) */
.upgrade-cta {
    margin: 0 auto 32px auto;
    max-width: 600px;
}

/* Full-width CTA */
.upgrade-cta.full-width {
    max-width: 100%;
    margin-top: 40px;
}

/* Info Section with Disclaimers */
.info-section {
    margin-top: 40px;
    width: 100%;
}

/* Compact Sample Files Card */
.samples-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1.5px solid #e9ecef;
    padding: 30px 20px;
    max-width: 600px;
    margin: 0 auto 0 auto;
}
.samples-card .section-heading {
    margin-bottom: 18px;
    text-align: center;
}
.samples-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sample-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}
.sample-row:last-child {
    border-bottom: none;
}
.sample-icon {
    font-size: 1rem;
    color: #36ba80;
    flex-shrink: 0;
    margin-bottom: 1rem;
}
.sample-title {
    flex: 1;
    font-weight: 500;
    color: #1d5261;
}
.sample-download-btn {
    background: #f8f9fa;
    color: #1d5261;
    border: 2px solid #36ba80;
    padding: 6px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-size: 0.95rem;
}
.sample-download-btn:hover {
    background: #36ba80;
    color: #fff;
}

/* Global Layout Styles */
.try-it-out-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
}

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

/* Hero Section */
.hero {
    /* softened gradient for better text contrast */
    background: linear-gradient(135deg, rgba(29,82,97,0.42) 0%, rgba(54,186,128,0.32) 100%);
    color: white;
    padding: 0;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
    animation: fadeIn 1s ease;
}

.hero-content p {
    font-size: 1.5rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    animation: fadeIn 1.5s ease;
}

/* Accent text used in hero */
.hero-accent {
    color: #36ba80;
    font-weight: 800;
    display: inline-block;
}

/* Decorative blurred blobs behind hero */
.hero-blobs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: visible;
}
.hero-blobs .blob {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(48px);
    opacity: 0.12; /* make blobs subtler */
}
.blob-top-left {
    top: -100px;
    left: -120px;
    background: radial-gradient(circle at 30% 30%, rgba(5,145,252,0.9), rgba(54,186,128,0.5));
}
.blob-bottom-right {
    right: -80px;
    bottom: -80px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle at 70% 70%, rgba(54,186,128,0.95), rgba(29,82,97,0.45));
}

/* Main Content Layout */
.section {
    padding: 60px 0;
    width: 100%;
}

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

/* Two-Column Layout System */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
}

/* Upload Section */
.upload-section {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin: 0 auto;
    max-width: 700px;
    width: 100%;
}

/* Sample Data Section */
.samples-section {
    width: 100%;
}

/* Two-column grid for content areas */
.two-column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Full-width section that spans both columns */
.full-width-section {
    grid-column: 1 / -1; /* Span all columns */
    width: 100%;
    margin-top: 10px;
}

@media (max-width: 900px) {
    .two-column-grid {
        grid-template-columns: 1fr;
    }
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: #1d5261;
}

/* Upload Area */
.upload-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.upload-area {
    background: white;
    border: 3px dashed #36ba80;
    border-radius: 16px;
    padding: 50px 30px;
    text-align: center;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    width: 100%;
    max-width: 600px;
}

.upload-area:hover,
.upload-area.dragover {
    border-color: #1d5261;
    background: #f0f9f5;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(54, 186, 128, 0.15);
}

.upload-content {
    transition: all 0.3s ease;
}

.upload-icon {
    font-size: 4rem;
    color: #36ba80;
    margin-bottom: 1.5rem;
}

.upload-area h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1d5261;
    margin-bottom: 0.5rem;
}

.upload-area p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.upload-btn {
    background: #36ba80;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.upload-btn:hover {
    background: #1d5261;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 82, 97, 0.3);
}

/* File Info Display */
.file-info {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #e8f5e8;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #36ba80;
}

/* Ensure hidden elements are actually hidden */
[hidden] {
    display: none !important;
}

.file-icon {
    font-size: 2rem;
    color: #36ba80;
}

.file-details {
    flex: 1;
}

.file-name {
    display: block;
    font-weight: 600;
    color: #1d5261;
    font-size: 1.1rem;
}

.file-size {
    display: block;
    color: #666;
    font-size: 0.9rem;
    margin-top: 4px;
}

.remove-file {
    background: none;
    border: none;
    color: #dc3545;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.remove-file:hover {
    background: #dc3545;
    color: white;
}

/* Progress Section */
.progress-section {
    margin-bottom: 30px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #36ba80, #1d5261);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 4px;
}

.progress-text {
    text-align: center;
    color: #666;
    font-weight: 500;
}

/* Analyze Button */
.analyze-btn {
    width: 100%;
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.analyze-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.analyze-btn:disabled:hover {
    background: #ccc;
    transform: none;
    box-shadow: none;
}

/* Sample Data Section */
.section-heading {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1d5261;
    margin-bottom: 1.5rem;
    text-align: center;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.sample-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sample-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(54, 186, 128, 0.15);
    border-color: #36ba80;
}


.sample-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1d5261;
    margin-bottom: 0.8rem;
}

.sample-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.sample-download-btn {
    background: #f8f9fa;
    color: #1d5261;
    border: 2px solid #36ba80;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.sample-download-btn:hover {
    background: #36ba80;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(54, 186, 128, 0.3);
}

/* Information Sections */
.info-box {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-box.important {
    border-left: 4px solid #36ba80;
}

.info-box.legal {
    border-left: 4px solid #ffc107;
}

.disclaimer-icon,
.legal-icon {
    font-size: 2rem;
    color: #36ba80;
    margin-top: 5px;
    flex-shrink: 0;
}

.legal-disclaimer .legal-icon {
    color: #ffc107;
}

.disclaimer-content h4,
.legal-content h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1d5261;
    margin-bottom: 1rem;
}

.disclaimer-content ul {
    list-style: none;
    padding: 0;
}

.disclaimer-content li {
    margin-bottom: 0.8rem;
    color: #666;
    line-height: 1.5;
}

.legal-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Information Boxes */
.info-content h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1d5261;
    margin-bottom: 1rem;
}

.info-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-content li {
    margin-bottom: 0.8rem;
    color: #666;
    line-height: 1.5;
    position: relative;
    padding-left: 1.5rem;
}

.info-content li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #36ba80;
    font-weight: bold;
}

.info-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.icon {
    font-size: 2rem;
    color: #36ba80;
    margin-top: 5px;
    flex-shrink: 0;
}

.info-box.legal .icon {
    color: #ffc107;
}

/* Upgrade CTA */
.upgrade-cta {
    text-align: center;
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.upgrade-cta h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1d5261;
    margin-bottom: 1rem;
}

.upgrade-cta p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.cta-btn {
    background: linear-gradient(135deg, #36ba80, #1d5261);
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(54, 186, 128, 0.3);
    color: white;
    text-decoration: none;
}

.secondary-btn {
    background: transparent;
    color: #1d5261;
    border: 2px solid #1d5261;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.secondary-btn:hover {
    background: #1d5261;
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: white;
    border-radius: 16px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

.modal-content.error {
    border-top: 4px solid #dc3545;
}

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

.modal-header {
    padding: 30px 30px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    margin: 0;
    color: #1d5261;
    font-weight: 600;
}

.close-button {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.close-button:hover {
    background: #f8f9fa;
    color: #1d5261;
}

.modal-body {
    padding: 30px;
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    color: #36ba80;
    margin-bottom: 1.5rem;
}

.error-icon {
    font-size: 4rem;
    color: #dc3545;
    margin-bottom: 1.5rem;
}

.modal-body p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

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

/* Responsive Design */
@media (max-width: 1100px) {
    .section {
        padding: 40px 0;
    }
    
    .cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

@media (max-width: 900px) {
    .two-column-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .upload-area {
        padding: 40px 20px;
    }
    
    .info-box {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 25px 20px;
    }    .disclaimer-icon,
    .legal-icon {
        margin: 0 auto 15px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn,
    .secondary-btn {
        width: 100%;
        justify-content: center;
        max-width: 300px;
    }
    
    .upgrade-cta {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 30px 0;
    }
    
    .info-box {
        margin-bottom: 20px;
    }
    
    .upgrade-cta {
        padding: 25px 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 90vh;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .sample-card {
        padding: 20px;
    }
    
    .modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .modal-body,
    .modal-header {
        padding: 20px;
    }
    
    .sample-download-btn {
        width: 100%;
        justify-content: center;
    }
    
    .upload-area {
        padding: 20px 15px;
    }
    
    .info-box {
        padding: 20px 15px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
