/* Custom styles for GPT Landing Page Builder */

/* Smooth scrolling for the entire page */
html {
    scroll-behavior: smooth;
}

/* Enhance card hover effects */
.card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Custom gradient text effect */
.gradient-text {
    background: linear-gradient(135deg, #198754, #146c43);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced form styling */
.form-control:focus {
    border-color: #198754;
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

/* Button animations */
.btn {
    transition: all 0.2s ease-in-out;
}

.btn:hover {
    transform: translateY(-1px);
}

/* GPT access section styling */
.gpt-access-section {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.1), rgba(25, 135, 84, 0.1));
    border-radius: 15px;
}

/* Custom navbar styling */
.navbar-brand {
    font-weight: 600;
    font-size: 1.25rem;
}

/* Footer styling */
footer {
    margin-top: auto;
}

/* Alert customizations */
.alert {
    border: none;
    border-radius: 0.75rem;
}

/* Feature icons styling */
.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

/* Copy button feedback */
.copy-feedback {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1050;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .display-3 {
        font-size: 2.5rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    

}

@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .display-3 {
        font-size: 2rem;
    }
    

}

/* Form validation styles */
.was-validated .form-control:valid {
    border-color: var(--bs-success);
}

.was-validated .form-control:invalid {
    border-color: var(--bs-danger);
}

/* Loading state for forms */
.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Enhanced typography */
.display-3 {
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.lead {
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Social sharing buttons */
.social-share {
    gap: 0.5rem;
}

.social-share .btn {
    min-width: 120px;
}

/* Page transition effects */
.page-enter {
    animation: fadeInUp 0.6s ease-out;
}

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

/* Custom dark green color overrides */
:root {
    --bs-primary: #198754;
    --bs-primary-rgb: 25, 135, 84;
}

/* Hero section styling */
.hero-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
