/* ============================================
   LBN International Trade - CSS ENHANCEMENTS
   Premium B2B Design Improvements
   ============================================ */

/* ========================================
   1. NAVIGATION ENHANCEMENTS
   ======================================== */

/* Better spacing and hover states */
.nav-menu {
    gap: 2.5rem;
}

.nav-menu a {
    position: relative;
    padding: 0.5rem 0;
}

/* Elegant underline on hover */
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent-light);
    transition: width var(--transition-base);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* CTA button in nav */
.nav-cta {
    padding: 0.625rem 1.25rem !important;
    background: var(--color-accent);
    color: var(--color-white) !important;
    border-radius: var(--radius-md);
    opacity: 1 !important;
}

.nav-cta:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
}

.navbar.scrolled .nav-cta {
    background: var(--color-accent);
}

/* Mobile toggle button */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-white);
    transition: all var(--transition-fast);
}

.navbar.scrolled .nav-toggle span {
    background: var(--color-navy);
}

/* ========================================
   2. HERO SECTION ENHANCEMENTS
   ======================================== */

.hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    opacity: 0.8;
    animation: float 3s ease-in-out infinite;
}

.hero-scroll span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    animation: scroll-down 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

@keyframes scroll-down {
    0% {
        opacity: 0;
        top: 8px;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        top: calc(100% - 16px);
    }
}

/* ========================================
   3. SECTION TITLES & SPACING
   ======================================== */

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-navy);
    text-align: center;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    color: var(--color-grey-600);
    font-size: 1.125rem;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* Alternating backgrounds */
.alt-bg {
    background: var(--color-light-grey);
}

/* Better section padding */
section {
    padding: 6rem 0;
}

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
}

/* ========================================
   4. SERVICE CARDS - PREMIUM REDESIGN
   ======================================== */

.service-card {
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border: 1.5px solid var(--color-grey-200);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: all var(--transition-base);
    position: relative;
    overflow: visible;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 40px rgba(45, 91, 255, 0.15);
    border-color: var(--color-accent);
}

/* Featured card - Premium styling */
.service-card.featured {
    border-color: var(--color-accent);
    border-width: 2px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    box-shadow: 0 4px 20px rgba(45, 91, 255, 0.12);
}

.service-card.featured:hover {
    box-shadow: 0 16px 48px rgba(45, 91, 255, 0.25);
}

/* Badge styling */
.service-badge {
    position: absolute;
    top: -12px;
    right: 2rem;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 12px rgba(45, 91, 255, 0.3);
}

/* Service card sections */
.service-target {
    color: var(--color-accent);
    font-size: 0.9375rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    margin-top: 0.5rem;
}

.service-duration {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--color-grey-100);
    color: var(--color-grey-700);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
}

.service-description {
    color: var(--color-grey-600);
    line-height: 1.7;
    margin-bottom: 2rem;
    flex-grow: 1;
}

/* Deliverables section */
.service-deliverables {
    margin-bottom: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-grey-200);
}

.service-deliverables h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-grey-600);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-deliverables ul {
    list-style: none;
    padding: 0;
}

.service-deliverables li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.625rem;
    color: var(--color-grey-700);
    font-size: 0.9375rem;
}

.service-deliverables li::before {
    content: '✓';
    color: var(--color-accent);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Price section */
.service-price {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: var(--color-light-grey);
    border-radius: var(--radius-md);
    text-align: center;
}

.service-price .price {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-accent);
    font-family: var(--font-display);
}

.service-price .price-note {
    display: block;
    font-size: 0.875rem;
    color: var(--color-grey-600);
    margin-top: 0.25rem;
}

/* Full width button */
.btn-full {
    width: 100%;
}

/* ========================================
   5. CONTEXT & PAIN POINTS SECTIONS
   ======================================== */

.context-section {
    background: var(--color-white);
}

.context-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.context-intro p {
    font-size: 1.375rem;
    font-style: italic;
    color: var(--color-grey-600);
    line-height: 1.7;
}

.context-transition {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-top: 4rem;
}

.pain-points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pain-point-card {
    padding: 2rem;
    background: var(--color-white);
    border: 1px solid var(--color-grey-200);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.pain-point-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--color-accent-light);
}

.pain-point-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(45, 91, 255, 0.1), rgba(91, 127, 255, 0.15));
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    color: var(--color-accent);
}

.pain-point-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-navy);
}

.pain-point-card p {
    color: var(--color-grey-600);
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* ========================================
   6. ABOUT SECTION
   ======================================== */

.about-section {
    background: var(--color-light-grey);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.about-photo {
    text-align: center;
    position: sticky;
    top: 120px;
}

.about-photo img {
    width: 100%;
    max-width: 280px;
    margin: 0 auto 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.about-photo h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.about-photo .role {
    color: var(--color-accent);
    font-size: 0.9375rem;
    font-weight: 500;
}

.about-content h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--color-navy);
}

.about-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-timeline-item {
    padding-left: 2rem;
    border-left: 2px solid var(--color-accent);
    padding-bottom: 1rem;
    position: relative;
}

.about-timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 10px;
    height: 10px;
    background: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(45, 91, 255, 0.1);
}

.about-timeline-item .date {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.about-timeline-item .title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 0.375rem;
}

.about-timeline-item .description {
    color: var(--color-grey-600);
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* ========================================
   7. AUDIENCE SECTION
   ======================================== */

.audience-section {
    background: var(--color-white);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 2rem;
}

.audience-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--color-light-grey);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.audience-card:hover {
    background: var(--color-white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.audience-icon {
    margin: 0 auto 1.5rem;
    color: var(--color-accent);
}

.audience-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--color-navy);
}

.audience-card p {
    color: var(--color-grey-600);
    font-size: 0.9375rem;
}

/* Fade-in delays for animation */
.fade-in-delay-1 {
    transition-delay: 0.1s;
}

.fade-in-delay-2 {
    transition-delay: 0.2s;
}

.fade-in-delay-3 {
    transition-delay: 0.3s;
}

/* ========================================
   8. FAQ SECTION
   ======================================== */

.faq-section {
    background: var(--color-light-grey);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-white);
    border-radius: var(--radius-md);
    margin-bottom: 1.25rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all var(--transition-base);
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: all var(--transition-fast);
    font-family: var(--font-display);
}

.faq-question:hover {
    color: var(--color-accent);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--color-accent);
    transition: transform var(--transition-base);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 2rem 1.5rem;
    color: var(--color-grey-600);
    line-height: 1.8;
    font-size: 1rem;
}

/* ========================================
   9. CTA SECTION
   ======================================== */

.cta-section {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
    color: var(--color-white);
    text-align: center;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/hero_abstract_connections.png') center center / cover no-repeat;
    opacity: 0.1;
}

.cta-section .section-title {
    color: var(--color-white);
    position: relative;
    z-index: 2;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.btn-white {
    background: var(--color-white);
    color: var(--color-navy);
    border-color: var(--color-white);
}

.btn-white:hover {
    background: transparent;
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

/* ========================================
   10. CONTACT SECTION
   ======================================== */

.contact-section {
    background: var(--color-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--color-navy);
}

.contact-text {
    color: var(--color-grey-600);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--color-light-grey);
    border-radius: var(--radius-md);
    color: var(--color-navy);
    font-weight: 500;
    transition: all var(--transition-base);
}

.contact-link:hover {
    background: var(--color-accent);
    color: var(--color-white);
    transform: translateX(4px);
}

.contact-link svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.contact-form-wrapper {
    background: var(--color-light-grey);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   11. FOOTER ENHANCEMENTS
   ======================================== */

.footer {
    background: var(--color-navy);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
}

.logo-lbn {
    color: var(--color-accent-light);
}

.logo-text {
    color: var(--color-white);
}

.footer-nav {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .footer-nav {
        justify-content: center;
    }
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.footer-nav a:hover {
    color: var(--color-accent-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .footer-links {
        justify-content: center;
    }
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-white);
}

/* ========================================
   12. MOBILE RESPONSIVE IMPROVEMENTS
   ======================================== */

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        color: var(--color-navy) !important;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }

    .hero-ctas .btn {
        width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   13. ACCESSIBILITY IMPROVEMENTS
   ======================================== */

/* Focus states for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
