/* your-style.css - Modern Database Exporter Styles */

@import "//cdn.jotfor.ms/p/sharedStyles/reset.css?rev=1";

:root {
    --primary-orange: #FF6100;
    --primary-orange-hover: #E65700;
    --dark-blue: #0A1551;
    --text-main: #2C3345;
    --text-muted: #64748B;
    --bg-light-blue: #F0F5FF;
    --white: #FFFFFF;
    --success: #059669;
    --warning: #DC2626;
    --border-color: #E2E8F0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    margin: 0;
    padding: 0;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: absolute;
    width: 1000px;
    height: 1000px;
    top: -400px;
    left: -400px;
    background: radial-gradient(circle, rgba(255, 192, 203, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: "";
    position: absolute;
    width: 1000px;
    height: 1000px;
    top: 30%;
    right: -400px;
    background: radial-gradient(circle, rgba(255, 222, 173, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

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

/* Header */
header {
    padding: 40px 0;
}

.logo-link img {
    /* height: 32px; */
    max-width: 148px;
}

/* Hero Section */
.hero {
    padding: 40px 0 120px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 480px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    color: var(--dark-blue);
    margin: 0 0 24px 0;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 18px;
    color: var(--text-main);
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-orange);
    color: white;
    padding: 18px 44px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(255, 97, 0, 0.3);
}

.cta-button:hover {
    background-color: var(--primary-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 97, 0, 0.4);
    color: white;
}

.hero-graphic {
    flex: 1.2;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-graphic img {
    width: 100%;
    max-width: 600px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.05));
    transition: transform 0.3s ease;
}

.hero-graphic img:hover {
    transform: scale(1.02);
}

/* Features Section */
.features {
    background-color: #F8FBFF;
    border: 1px solid rgba(10, 21, 81, 0.05);
    border-radius: 12px;
    padding: 80px 100px;
    margin-bottom: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    min-height: 500px;
    overflow: visible;
}

.features-content {
    flex: 1;
    z-index: 5;
}

.features h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-blue);
    margin: 0 0 48px 0;
    letter-spacing: -0.01em;
}

.steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 0;
    font-size: 20px;
    font-weight: 500;
    color: var(--dark-blue);
    padding: 24px 0;
    border-bottom: 1px solid #E2E8F0;
    max-width: 380px;
}

.step-item:first-child {
    padding-top: 0;
}

.step-item:last-child {
    border-bottom: none;
}

.step-number {
    font-weight: 600;
    color: var(--dark-blue);
    margin-right: 4px;
}

.features-image {
    flex: 1.2;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    z-index: 2; /* In front of most dots */
}

.features-image img {
    height: 90%;
    width: auto;
    max-width: none;
    border-radius: 0 12px 12px 0;
    z-index: 2;
    object-fit: contain;
    object-position: bottom right;
}

/* Dots and Decorative Elements */
.dot {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1; /* Behind the feature image */
}

.dot-blue { background-color: #007AFF; width: 32px; height: 32px; }
.dot-orange { background-color: #FF5E00; width: 44px; height: 44px; }
.dot-yellow { background-color: #FFB800; width: 56px; height: 56px; }
.dot-purple { background-color: #C678FF; width: 28px; height: 28px; }
.dot-green { 
    background-color: #7ED321; 
    width: 100px; 
    height: 100px; 
    z-index: 3; /* In front of the feature image */
}

/* Interactive Steps Container */
.app-container {
    max-width: 700px;
    margin: 0 auto 120px auto;
    display: none;
}

.step-container {
    background: white;
    padding: 48px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    margin-bottom: 40px;
    display: none;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.step-container.visible {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.step-container h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 12px;
}

.step-container p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 32px;
}

.big-button {
    background-color: var(--primary-orange);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(255, 97, 0, 0.2);
}

.big-button:hover:not(:disabled) {
    background-color: var(--primary-orange-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255, 97, 0, 0.3);
}

.big-button:disabled {
    background-color: #CBD5E0;
    cursor: not-allowed;
    box-shadow: none;
}

.db-select {
    width: 100%;
    max-width: 400px;
    padding: 14px;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    font-size: 16px;
    font-weight: 500;
    color: var(--text-main);
    background-color: white;
    cursor: pointer;
    transition: border-color 0.2s;
}

.db-select:focus {
    outline: none;
    border-color: var(--primary-orange);
}

/* Wizard Navigation */
.wizard-nav {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
}

.back-button {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.back-button:hover {
    background-color: var(--bg-light-blue);
    color: var(--dark-blue);
    border-color: var(--dark-blue);
}

/* Status Messages */
.status-msg {
    margin-top: 24px;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.status-msg.success {
    background-color: #ECFDF5;
    color: var(--success);
}

.status-msg.warning {
    background-color: #FEF2F2;
    color: var(--warning);
}

/* Footer */
footer {
    padding: 60px 0;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
}

.footer-logo img {
    height: 24px;
}

/* Loading state for button */
.big-button.loading {
    position: relative;
    color: transparent;
}

.big-button.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
}

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


@media (max-width: 992px) {
    .hero, .features {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px;
    }
    
    .hero-content, .features-content {
        max-width: 100%;
    }
    
    .hero h1 {
        font-size: 42px;
    }
    
    .features-image {
        display: none;
    }
    
    .steps-list {
        display: inline-block;
        text-align: left;
    }
}
