/* Custom styles for BiskuPINN */

:root {
    --primary-color: #07aba8;
    --text-dark: #072027;
    --text-light: #ffffff;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #ffffff;
    padding-top: 76px; /* Account for fixed navbar */
}

.navbar-custom {
    background-color: #ffffff;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-custom .navbar-nav .nav-link {
    color: #304254;
    font-weight: 600;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.navbar-custom .navbar-nav .nav-link:hover,
.navbar-custom .navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(7, 171, 168, 0.8) 0%, rgba(6, 153, 150, 0.9) 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    background: rgba(55, 75, 85, 0.9);
    padding: 3rem 2rem;
    border-radius: 0;
    max-width: 800px;
    margin: 0 auto;
}

.hero-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 4rem;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--text-light);
    line-height: 1.2;
}

.hero-divider {
    width: 100px;
    height: 4px;
    background: var(--primary-color);
    margin: 2rem auto;
}

/* Buttons */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color) 0%, #069996 100%);
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(7, 171, 168, 0.3);
}

/* Sections */
.section-padding {
    padding: 5rem 0;
}

.mission-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #069996 100%);
    color: white;
}

/* Forms */
.guide-download-form, .lead-form {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 15px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(7, 171, 168, 0.25);
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-valid {
    border-color: #28a745;
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

/* Survey */
.survey-widget {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.option-btn {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.option-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.2);
}

.option-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Cards */
.card-custom {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: none;
    transition: transform 0.3s ease;
}

.card-custom:hover {
    transform: translateY(-5px);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding: 0 2rem;
}

.timeline-item:nth-child(odd) {
    text-align: right;
    padding-right: calc(50% + 2rem);
}

.timeline-item:nth-child(even) {
    text-align: left;
    padding-left: calc(50% + 2rem);
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
}

/* Mission Section */
.mission-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 3rem;
    color: #000000;
    margin-bottom: 2rem;
}

.mission-text {
    font-size: 1.2rem;
    line-height: 1.6;
    font-style: italic;
    font-weight: 600;
}

.description-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.brand-pattern {
    background: repeating-linear-gradient(
            45deg,
            var(--primary-color),
            var(--primary-color) 10px,
            transparent 10px,
            transparent 20px
    );
    height: 4px;
    width: 100%;
    margin: 2rem 0;
}

/* Placeholders and Mockups */
.image-placeholder {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    color: #6c757d;
    font-style: italic;
}

.phone-mockup {
    border-radius: 25px;
    padding: 2rem;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.phone-mockup img {
    max-width: 100%;
    height: auto;
}

/* Benefits Cards */
.benefit-card {
    padding: 2rem;
    text-align: center;
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Problem/Solution Lists */
.problem-list, .solution-list {
    padding-left: 1.5rem;
    margin-top: 1.5rem;
    list-style: none;
}

.problem-list li, .solution-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    position: relative;
    padding-left: 2rem;
}

.problem-list li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #dc3545;
    font-weight: bold;
}

.solution-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* Footer */
.footer-custom {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 3rem 0;
}

.logo-section {
    text-align: center;
    padding: 3rem 0;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--text-light);
    text-decoration: none;
}

.contact-info {
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-info p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

/* Social Links */
.social-card {
    display: block;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.social-card:hover {
    transform: translateY(-5px);
    color: inherit;
    text-decoration: none;
}

.social-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Legal Notice */
.legal-notice {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid var(--info-color);
}

/* Data Import Styles */
.data-import-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.import-header {
    text-align: center;
    margin-bottom: 3rem;
}

.import-header h1 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

.import-tabs {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.tab-navigation {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.tab-btn {
    flex: 1;
    padding: 1rem 2rem;
    border: none;
    background: transparent;
    font-weight: 600;
    color: #6c757d;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tab-btn:hover {
    background: #e9ecef;
    color: var(--primary-color);
}

.tab-btn.active {
    background: var(--primary-color);
    color: white;
}

.tab-panel {
    display: none;
    padding: 2rem;
}

.tab-panel.active {
    display: block;
}

.import-section h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: block;
}

.form-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: #069996;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-warning {
    background: #ffc107;
    color: #212529;
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid transparent;
}

.alert-warning {
    background: #fff3cd;
    border-color: #ffeaa7;
    color: #856404;
}

.alert-success {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.json-editor {
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.9rem;
    resize: vertical;
}

.sample-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.sample-json {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.sample-json pre {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 1rem;
    overflow-x: auto;
    font-size: 0.875rem;
}

.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: 9999;
}

.modal-content {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-content h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6c757d;
}

.progress-container {
    margin: 1rem 0;
}

.progress-bar {
    background: #e9ecef;
    border-radius: 10px;
    height: 20px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    background: var(--primary-color);
    height: 100%;
    border-radius: 10px;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    font-weight: 600;
    color: var(--text-dark);
}

.progress-message {
    text-align: center;
    color: #6c757d;
    margin-top: 0.5rem;
}

.import-status-display {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.status-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.status-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.status-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.status-badge.status-completed {
    background: #d4edda;
    color: #155724;
}

.status-badge.status-in-progress {
    background: #cce7ff;
    color: #004085;
}

.status-badge.status-failed {
    background: #f8d7da;
    color: #721c24;
}

.status-messages {
    background: #f8f9fa;
    border-radius: 4px;
    padding: 1rem;
}

.status-messages ul {
    margin: 0;
    padding-left: 1rem;
}

.no-imports {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    margin: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-text {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.8rem;
    }

    .mission-title {
        font-size: 2rem;
    }

    .hero-content {
        padding: 2rem 1rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item, .timeline-item:nth-child(even) {
        width: 90%;
        margin-left: auto;
        margin-right: 0;
    }

    .timeline-item::before, .timeline-item:nth-child(even)::before {
        right: auto;
        left: -30px;
        width: 30px;
    }

    .option-grid {
        grid-template-columns: 1fr;
    }

    .data-import-container {
        padding: 1rem;
    }

    .tab-navigation {
        flex-direction: column;
    }

    .form-actions, .sample-actions {
        flex-direction: column;
    }

    .status-info {
        grid-template-columns: 1fr;
    }
}