/* Custom CSS for Glenfieldway */

:root {
    --gradient-start: rgb(194, 245, 238);
    --gradient-mid1: rgb(51, 92, 255);
    --gradient-mid2: rgb(127, 94, 218);
    --gradient-end: rgb(255, 217, 192);
    --dark-bg: rgb(41, 41, 41);
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-mid1) 35%, var(--gradient-mid2) 65%, var(--gradient-end));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.navbar-brand {
    font-size: 1.25rem;
    font-weight: 600;
}

.nav-link {
    font-weight: 500;
    font-size: 0.875rem;
}

.contact-sales-link {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

/* Hero Section */
.hero-section {
    padding: 60px 0 40px;
    background: white;
}

.hero-announcement {
    margin-bottom: 2rem;
}

.hero-announcement .badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-mid1) 35%, var(--gradient-mid2) 65%, var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.hero-buttons .btn {
    padding: 12px 24px;
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trust-logos {
    gap: 2rem;
}

.trust-logo {
    color: #9ca3af;
    font-weight: 500;
    font-size: 0.875rem;
}

/* Introduction Section */
.introduction-section {
    background-color: #f8fafc;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.intro-feature h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Demo Section */
.demo-section {
    padding: 80px 0;
}

.section-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.demo-form {
    background-color: var(--dark-bg) !important;
    border-radius: 12px;
}

.demo-form .form-control {
    background: white;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.demo-form .btn {
    padding: 12px 24px;
    font-weight: 500;
    border-radius: 8px;
    text-transform: uppercase;
}

.demo-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 2rem;
}

.demo-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.demo-card:hover {
    transform: translateY(-5px);
}

.demo-card i {
    font-size: 2rem;
    color: var(--gradient-mid1);
    margin-bottom: 1rem;
}

/* How It Works */
.how-it-works {
    background-color: #f8fafc;
}

.step-card {
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    height: 100%;
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: #e5e7eb;
    margin-bottom: 1rem;
}

.step-card h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Features Section */
.features-section {
    padding: 80px 0;
}

.feature-item {
    padding: 1rem 0;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-mid1) 35%, var(--gradient-mid2) 65%, var(--gradient-end));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.feature-visual {
    background: linear-gradient(135deg, var(--gradient-mid1), var(--gradient-mid2)) !important;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* CTA Section */
.cta-section {
    background-color: var(--dark-bg) !important;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

/* Footer */
.footer {
    background-color: #f8fafc !important;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #374151;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gradient-mid1);
}

.newsletter-form .input-group {
    max-width: 300px;
}

.contact-info p {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .demo-cards {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .trust-logos {
        flex-direction: column;
        gap: 1rem;
    }
}

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

.hero-section > * {
    animation: fadeInUp 0.8s ease-out;
}

/* Button Hover Effects */
.btn-dark:hover {
    background-color: #1f2937;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.btn-outline-dark:hover {
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Pricing Page Styles */
.pricing-section {
    padding: 80px 0;
}

.pricing-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.pricing-card.featured {
    border: 2px solid var(--gradient-mid1);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--gradient-mid1), var(--gradient-mid2));
    color: white;
    padding: 8px 24px;
    border-radius: 0 0 12px 12px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-header {
    padding: 2rem 2rem 1rem;
    text-align: center;
    position: relative;
}

.pricing-card.featured .pricing-header {
    padding-top: 3rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 1rem;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gradient-mid1);
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gradient-mid1);
    margin: 0 0.25rem;
}

.period {
    font-size: 1rem;
    color: #6b7280;
}

.pricing-body {
    padding: 0 2rem 1rem;
}

.pricing-body .feature-list {
    list-style: none;
    padding: 0;
}

.pricing-body .feature-list li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
}

.pricing-body .feature-list li i {
    color: #10b981;
    margin-right: 0.75rem;
    width: 16px;
}

.pricing-footer {
    padding: 1rem 2rem 2rem;
}

.volume-section {
    background-color: #f8fafc;
}

.volume-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Contact Page Styles */
.contact-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form .form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.contact-form .form-control,
.contact-form .form-select {
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--gradient-mid1);
    box-shadow: 0 0 0 0.2rem rgba(51, 92, 255, 0.25);
}

.form-check-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem;
    background-color: #f8fafc;
    border-radius: 8px;
}

.contact-info-section {
    background-color: #f8fafc;
}

.contact-info-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    color: var(--gradient-mid1);
}

/* FAQ Styles */
.faq-section {
    padding: 80px 0;
}

.accordion-button {
    font-weight: 600;
    background-color: #f8fafc;
}

.accordion-button:not(.collapsed) {
    background-color: var(--gradient-mid1);
    color: white;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(51, 92, 255, 0.25);
}

/* Documentation Styles */
.documentation-section {
    padding: 80px 0;
}

.doc-sidebar {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 2rem;
    position: sticky;
    top: 100px;
}

.doc-nav {
    list-style: none;
    padding: 0;
}

.doc-nav li {
    margin-bottom: 0.5rem;
}

.doc-nav a {
    color: #6b7280;
    text-decoration: none;
    padding: 0.5rem 0;
    display: block;
    transition: color 0.3s ease;
}

.doc-nav a:hover,
.doc-nav a.active {
    color: var(--gradient-mid1);
    font-weight: 600;
}

.doc-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 3rem;
}

.doc-section {
    margin-bottom: 3rem;
}

.doc-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.doc-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 2rem;
    color: #374151;
}

.doc-section p.lead {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.doc-section ul,
.doc-section ol {
    margin-bottom: 1.5rem;
}

.doc-section li {
    margin-bottom: 0.5rem;
}

/* Terms and Privacy Styles */
.terms-section,
.privacy-section {
    padding: 80px 0;
}

.terms-content,
.privacy-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 3rem;
}

.terms-content h2,
.privacy-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    margin-top: 2rem;
    color: #1f2937;
}

.terms-content h2:first-child,
.privacy-content h2:first-child {
    margin-top: 0;
}

.terms-content h3,
.privacy-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
    color: #374151;
}

.terms-content p,
.privacy-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.terms-content ul,
.privacy-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.terms-content li,
.privacy-content li {
    margin-bottom: 0.5rem;
}

.contact-details {
    background-color: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.contact-details p {
    margin-bottom: 0;
    font-family: monospace;
    font-size: 0.875rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--gradient-mid1), var(--gradient-mid2));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, var(--gradient-mid2), var(--gradient-mid1));
}
